Made the read only get_teams() accessor const.
This commit is contained in:
parent
931e1f9f3f
commit
0a6c8c2a1f
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ public:
|
|||
|
||||
bool show_everything() const { return !viewpoint_; }
|
||||
|
||||
const std::vector<team>& get_teams() {return *teams_;}
|
||||
const std::vector<team>& get_teams() const {return *teams_;}
|
||||
|
||||
/** The playing team is the team whose turn it is. */
|
||||
size_t playing_team() const { return activeTeam_; }
|
||||
|
|
Loading…
Add table
Reference in a new issue