Declare const member functions that do not modify the object

This commit is contained in:
Carles Fernandez 2018-06-17 21:53:37 +02:00
parent 8ff1a816bb
commit 0f29352aa0
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
1 changed files with 3 additions and 3 deletions

View File

@ -107,17 +107,17 @@ public:
void set_configuration(std::shared_ptr<ConfigurationInterface> configuration); void set_configuration(std::shared_ptr<ConfigurationInterface> configuration);
unsigned int applied_actions() unsigned int applied_actions() const
{ {
return applied_actions_; return applied_actions_;
} }
bool connected() bool connected() const
{ {
return connected_; return connected_;
} }
bool running() bool running() const
{ {
return running_; return running_;
} }