Fixed extra qualification and a warning suggesting extra braces with gcc.
This commit is contained in:
parent
9853a5d3f3
commit
d8a87d0335
2 changed files with 4 additions and 2 deletions
|
@ -306,7 +306,9 @@ side_actions::iterator side_actions::insert_action(iterator position, action_ptr
|
|||
side_actions::iterator side_actions::queue_action(size_t turn_num, action_ptr action)
|
||||
{
|
||||
if(resources::whiteboard->has_planned_unit_map())
|
||||
{
|
||||
ERR_WB << "Modifying action queue while temp modifiers are applied!!!\n";
|
||||
}
|
||||
iterator result = synced_enqueue(turn_num, action);
|
||||
LOG_WB << "Inserted into turn #" << (turn_num+1) << " at position #" << actions_[turn_num].size()
|
||||
<< " : " << action <<"\n";
|
||||
|
|
|
@ -243,8 +243,8 @@ public:
|
|||
///Used to track gold spending by recruits/recalls when building the future unit map
|
||||
void change_gold_spent_by(int difference) { gold_spent_ += difference; assert(gold_spent_ >= 0);}
|
||||
|
||||
void side_actions::raw_turn_shift();
|
||||
void side_actions::synced_turn_shift();
|
||||
void raw_turn_shift();
|
||||
void synced_turn_shift();
|
||||
|
||||
/**
|
||||
* Network code. A net_cmd object (a config in disguise) represents a modification
|
||||
|
|
Loading…
Add table
Reference in a new issue