summaryrefslogtreecommitdiffhomepage
path: root/config.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'config.cpp')
-rw-r--r--config.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.cpp b/config.cpp
index 4e33dfc..6050768 100644
--- a/config.cpp
+++ b/config.cpp
@@ -182,7 +182,7 @@ void Config::dump() const
std::cout << "=============================================" << std::endl;
}
-std::string Config::DocRoot(const Socket& socket, const std::string& requested_host, const std::string& requested_path)
+std::string Config::DocRoot(const Socket& socket, const std::string& requested_host, const std::string& requested_path) const
{
// TODO: speed this up
std::string host{requested_host};