mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-08 07:53:20 +00:00
gms/gossiper: Const-qualify functions
Signed-off-by: Duarte Nunes <duarte@scylladb.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user