diff --git a/NetworkManagerP2P/src/NMP2pSettings.cpp b/NetworkManagerP2P/src/NMP2pSettings.cpp index f1d271d..21b9917 100644 --- a/NetworkManagerP2P/src/NMP2pSettings.cpp +++ b/NetworkManagerP2P/src/NMP2pSettings.cpp @@ -12,14 +12,14 @@ #include using namespace pipedal; -P2pSettings::P2pSettings(const std::filesystem::path&configDirectoryPath, const std::filesystem::path&varDirectoryPath = "/var/pipedal/config") +P2pSettings::P2pSettings(const std::filesystem::path&configDirectoryPath, const std::filesystem::path&varDirectoryPath) : configDirectoryPath(configDirectoryPath), varDirectoryPath(varDirectoryPath) { } - + static const char*hexDigits = "0123456789abcdef"; std::string MakeBssid() { diff --git a/NetworkManagerP2P/src/NMP2pSettings.hpp b/NetworkManagerP2P/src/NMP2pSettings.hpp index 3980cc2..650cbeb 100644 --- a/NetworkManagerP2P/src/NMP2pSettings.hpp +++ b/NetworkManagerP2P/src/NMP2pSettings.hpp @@ -8,7 +8,9 @@ class P2pSettings { // adapter between nm p2p settings, and legacy p2p public: - P2pSettings(const std::filesystem::path&configDirectory = "/etc/pipedal/config", const std::filesystem::path&varDirectory = "/var/pipedal/config"); + P2pSettings( + const std::filesystem::path&configDirectory = "/etc/pipedal/config", + const std::filesystem::path&varDirectory = "/var/pipedal/config" ); void Load(); void Save();