gms/gossiper: Const-qualify functions

Signed-off-by: Duarte Nunes <duarte@scylladb.com>
This commit is contained in:
Duarte Nunes
2017-10-10 16:25:53 +01:00
parent 955aee1588
commit ceef45a6fe
2 changed files with 4 additions and 4 deletions

View File

@@ -1659,7 +1659,7 @@ future<> gossiper::stop() {
return make_ready_future();
}
bool gossiper::is_enabled() {
bool gossiper::is_enabled() const {
return _enabled;
}
@@ -1673,7 +1673,7 @@ void gossiper::finish_shadow_round() {
}
}
bool gossiper::is_in_shadow_round() {
bool gossiper::is_in_shadow_round() const {
return _in_shadow_round;
}

View File

@@ -494,11 +494,11 @@ public:
future<> do_stop_gossiping();
public:
bool is_enabled();
bool is_enabled() const;
void finish_shadow_round();
bool is_in_shadow_round();
bool is_in_shadow_round() const;
void goto_shadow_round();