Move template parameter in Thread to a more logical scope location.
This commit is contained in:
parent
20f8668c28
commit
8a46452a70
10 changed files with 20 additions and 21 deletions
|
@ -54,7 +54,7 @@ Topology::Topology(const RuntimeEnvironment *renv,const char *dbpath)
|
|||
|
||||
Utils::lockDownFile(dbpath,false); // node.db caches secrets
|
||||
|
||||
_thread = Thread<Topology>::start(this);
|
||||
_thread = Thread::start(this);
|
||||
}
|
||||
|
||||
Topology::~Topology()
|
||||
|
@ -67,7 +67,7 @@ Topology::~Topology()
|
|||
_peerDeepVerifyJobs.back().type = _PeerDeepVerifyJob::EXIT_THREAD;
|
||||
}
|
||||
_peerDeepVerifyJobs_c.signal();
|
||||
Thread<Topology>::join(_thread);
|
||||
Thread::join(_thread);
|
||||
KISSDB_close(&_dbm);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue