Fix const.

This commit is contained in:
Adam Ierymenko 2017-11-07 16:23:56 -08:00
parent 3b21f946e4
commit 0612879dec
2 changed files with 2 additions and 2 deletions

View file

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

View file

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