WaE: make older C++ compilers happy.
Change-Id: Ibf28f91ae735ab05e8f641d0d06602c1abe4be56
This commit is contained in:
parent
ae7c579910
commit
a4e84db5b7
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ void AsyncDNS::addLookup(const std::string& lookup, const DNSThreadFn& cb,
|
|||
const DNSThreadDumpStateFn& dumpState)
|
||||
{
|
||||
std::unique_lock<std::mutex> guard(_lock);
|
||||
_lookups.emplace(lookup, cb, dumpState);
|
||||
_lookups.emplace(Lookup({lookup, cb, dumpState}));
|
||||
guard.unlock();
|
||||
_condition.notify_one();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue