From c7d9a15bc6bd57541ecfc59a79870f49388d61e6 Mon Sep 17 00:00:00 2001 From: lo-simon Date: Wed, 31 Jan 2024 21:42:59 +0000 Subject: [PATCH] client not reflect to the outside function --- Development/mdns/service_advertiser_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Development/mdns/service_advertiser_impl.cpp b/Development/mdns/service_advertiser_impl.cpp index aab8735a7..c15718355 100644 --- a/Development/mdns/service_advertiser_impl.cpp +++ b/Development/mdns/service_advertiser_impl.cpp @@ -69,7 +69,7 @@ namespace mdns_details } } - static bool register_address(DNSServiceRef client, const std::string& host_name, const std::string& ip_address_, const std::string& domain, std::uint32_t interface_id, slog::base_gate& gate) + static bool register_address(DNSServiceRef& client, const std::string& host_name, const std::string& ip_address_, const std::string& domain, std::uint32_t interface_id, slog::base_gate& gate) { // since empty host_name is valid for other functions, check that logic error here if (host_name.empty()) return false;