Fix various warnings

This commit is contained in:
Guillaume Meunier
2024-10-01 23:04:19 +02:00
parent 66df936294
commit 5e6512d825
7 changed files with 10 additions and 8 deletions
+1 -1
View File
@@ -134,7 +134,7 @@ void avahi_publisher::client_callback(AvahiClient * s,
}
avahi_publisher::avahi_publisher(const AvahiPoll * poll_api, const std::string & name, std::string type, int port, const std::map<std::string, std::string> & txt) :
poll_api(poll_api), name(avahi_strdup(name.c_str())), type(std::move(type)), port(port)
name(avahi_strdup(name.c_str())), type(std::move(type)), port(port), poll_api(poll_api)
{
for (const auto & [key, value]: txt)
{