Skip to content

Commit

Permalink
Fix boost list_of -> flat_set conversion on MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
aquileia committed Apr 8, 2015
1 parent 7323de9 commit e581456
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/team.cpp
Expand Up @@ -56,7 +56,7 @@ const int team::default_team_gold_ = 100;

// Update this list of attributes if you change what is used to define a side
// (excluding those attributes used to define the side's leader).
const boost::container::flat_set<std::string> team::attributes = boost::assign::list_of("ai_config")
const boost::container::flat_set<std::string> team::attributes = boost::assign::list_of<std::string>("ai_config")
("carryover_add")("carryover_percentage")("color")("controller")("current_player")("defeat_condition")("flag")
("flag_icon")("fog")("fog_data")("gold")("hidden")("income")
("no_leader")("objectives")("objectives_changed")("persistent")("lost")
Expand All @@ -70,7 +70,7 @@ const boost::container::flat_set<std::string> team::attributes = boost::assign::
("faction_from_recruit")("faction_name")("gold_lock")("income_lock")
("leader")("random_leader")("team_lock")("terrain_liked")
("user_description")("default_recruit")("controller_lock")("chose_random")
("description");
("description").convert_to_container<boost::container::flat_set<std::string>>();

team::team_info::team_info() :
name(),
Expand Down

0 comments on commit e581456

Please sign in to comment.