Attempt to fix a compile error in master

This commit is contained in:
Charles Dang 2016-03-09 20:57:40 +11:00
parent 1265ee1fc9
commit cab4d9fe48

View file

@ -303,7 +303,7 @@ public:
void set_flag(const std::string& flag) { info_.flag = flag; }
void set_flag_icon(const std::string& flag_icon) { info_.flag_icon = flag_icon; }
const std::string& side_name() const { return info_.side_name.empty() ? info_.current_player : info_.side_name; }
const std::string& side_name() const { return info_.side_name.empty() ? info_.current_player : info_.side_name.str(); }
//Returns true if the hex is shrouded/fogged for this side, or
//any other ally with shared vision.
bool shrouded(const map_location& loc) const;