summaryrefslogtreecommitdiffhomepage
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/config.h b/config.h
index fff7f9d..2ef8a83 100644
--- a/config.h
+++ b/config.h
@@ -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;