mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-15 13:48:16 +00:00
Fix const.
This commit is contained in:
@ -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) {
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user