From a4e84db5b73d6dce22885267b75117716f125aa4 Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Sat, 18 May 2024 11:23:01 +0100 Subject: [PATCH] WaE: make older C++ compilers happy. Change-Id: Ibf28f91ae735ab05e8f641d0d06602c1abe4be56 --- net/NetUtil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/NetUtil.cpp b/net/NetUtil.cpp index 909ea866a..b57598a78 100644 --- a/net/NetUtil.cpp +++ b/net/NetUtil.cpp @@ -241,7 +241,7 @@ void AsyncDNS::addLookup(const std::string& lookup, const DNSThreadFn& cb, const DNSThreadDumpStateFn& dumpState) { std::unique_lock guard(_lock); - _lookups.emplace(lookup, cb, dumpState); + _lookups.emplace(Lookup({lookup, cb, dumpState})); guard.unlock(); _condition.notify_one(); }