浏览代码

Fix const.

Adam Ierymenko 7 年之前
父节点
当前提交
0612879dec
共有 2 个文件被更改,包括 2 次插入2 次删除
  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);