diff options
Diffstat (limited to 'config.cpp')
-rw-r--r-- | config.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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}; |