Avoid using std::format for github CI

This commit is contained in:
Guillaume Meunier
2023-12-16 14:16:48 +01:00
parent 08a66cba70
commit 4bbe9952cc
3 changed files with 14 additions and 6 deletions
+2 -1
View File
@@ -3,6 +3,7 @@
#include <avahi-client/publish.h>
#include <avahi-common/simple-watch.h>
#include <avahi-common/watch.h>
#include <map>
#include <string>
#include <vector>
@@ -31,7 +32,7 @@ class avahi_publisher
void * userdata /**< The user data that was passed to avahi_client_new() */);
public:
avahi_publisher(const char * name, std::string type, int port, std::vector<std::string> txt = {});
avahi_publisher(const char * name, std::string type, int port, const std::map<std::string, std::string>& txt = {});
~avahi_publisher();