Browse Source

Fix const.

Adam Ierymenko 7 years ago
parent
commit
0612879dec
2 changed files with 2 additions and 2 deletions
  1. 1 1
      controller/RethinkDB.cpp
  2. 1 1
      controller/RethinkDB.hpp

+ 1 - 1
controller/RethinkDB.cpp

@@ -253,7 +253,7 @@ RethinkDB::~RethinkDB()
 	_heartbeatThread.join();
 }
 
-void RethinkDB::waitForReady() const
+void RethinkDB::waitForReady()
 {
 	while (_ready > 0) {
 		if (!_waitNoticePrinted) {

+ 1 - 1
controller/RethinkDB.hpp

@@ -34,7 +34,7 @@ public:
 	RethinkDB(EmbeddedNetworkController *const nc,const Address &myAddress,const char *path);
 	virtual ~RethinkDB();
 
-	virtual void waitForReady() const;
+	virtual void waitForReady();
 
 	virtual void save(const nlohmann::json &record);