mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 03:53:44 +02:00
Fix const.
This commit is contained in:
parent
3b21f946e4
commit
0612879dec
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue