diff --git a/gms/endpoint_state.hh b/gms/endpoint_state.hh index 90da49c399..a775040b6d 100644 --- a/gms/endpoint_state.hh +++ b/gms/endpoint_state.hh @@ -129,7 +129,7 @@ public: /** * @return System.nanoTime() when state was updated last time. */ - clk::time_point get_update_timestamp() { + clk::time_point get_update_timestamp() const { return _update_timestamp; } @@ -137,7 +137,7 @@ public: _update_timestamp = clk::now(); } - bool is_alive() { + bool is_alive() const { return _is_alive; } @@ -149,7 +149,7 @@ public: _is_alive = false; } - bool is_shutdown() { + bool is_shutdown() const { auto app_state = get_application_state(application_state::STATUS); if (!app_state) { return false;