mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-26 20:11:40 +00:00
Make a member function a const member function.
Issue found by cppcheck.
This commit is contained in:
parent
facf039cf8
commit
f175d6a97d
@ -33,7 +33,7 @@ public:
|
||||
bool skip_replay, bool is_host);
|
||||
virtual ~playmp_controller();
|
||||
|
||||
bool is_host() { return is_host_; }
|
||||
bool is_host() const { return is_host_; }
|
||||
|
||||
static unsigned int replay_last_turn() { return replay_last_turn_; }
|
||||
static void set_replay_last_turn(unsigned int turn);
|
||||
|
Loading…
x
Reference in New Issue
Block a user