mirror of
https://git.freebsd.org/ports.git
synced 2025-07-05 11:29:15 -04:00
14 lines
534 B
C++
14 lines
534 B
C++
--- net/dns/host_resolver_cache.cc.orig 2023-09-13 12:11:42 UTC
|
|
+++ net/dns/host_resolver_cache.cc
|
|
@@ -161,7 +161,11 @@ void HostResolverCache::Set(
|
|
|
|
std::string domain_name = result->domain_name();
|
|
entries_.emplace(
|
|
+#if defined(__clang__) && (__clang_major__ >= 16)
|
|
Key(std::move(domain_name), network_anonymization_key),
|
|
+#else
|
|
+ Key({std::move(domain_name), network_anonymization_key}),
|
|
+#endif
|
|
Entry(std::move(result), source, secure, staleness_generation_));
|
|
|
|
if (entries_.size() > max_entries_) {
|