WaE: make older C++ compilers happy.

Change-Id: Ibf28f91ae735ab05e8f641d0d06602c1abe4be56
This commit is contained in:
Michael Meeks 2024-05-18 11:23:01 +01:00
parent ae7c579910
commit a4e84db5b7

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