WaE: make older C++ compilers happy.

Change-Id: Ibf28f91ae735ab05e8f641d0d06602c1abe4be56
pull/9098/head
Michael Meeks 2024-05-18 11:23:01 +01:00
parent ae7c579910
commit a4e84db5b7
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}