diff options
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,6 @@ #pragma once +#include <filesystem> #include <string> const std::string default_config_filename{"/etc/weblog.conf"}; @@ -14,7 +15,7 @@ private: std::string m_keywords; public: - Config(const std::string& config_filename = default_config_filename); + Config(const std::filesystem::path& config_filename = default_config_filename); std::string getDataPath() const; std::string getListenAddress() const; |