summaryrefslogtreecommitdiffhomepage
path: root/config.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'config.cpp')
-rw-r--r--config.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.cpp b/config.cpp
index 3750bcf..793fa67 100644
--- a/config.cpp
+++ b/config.cpp
@@ -3,6 +3,7 @@
#include <boost/algorithm/string/predicate.hpp>
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/xml_parser.hpp>
+#include <boost/timer/timer.hpp>
#include <algorithm>
#include <exception>
@@ -208,6 +209,8 @@ void Config::dump() const
// throws std::out_of_range if not found
const Path& Config::GetPath(const Socket& socket, const std::string& requested_host, const std::string& requested_path) const
{
+ //boost::timer::auto_cpu_timer t;
+
// TODO: speed this up
std::string host{requested_host};
const Path* result{nullptr};