From 19627bbe6bdfc85c627b4f1f038f43ef0f6b704d Mon Sep 17 00:00:00 2001 From: Wei Dong Date: Wed, 11 Jan 2017 11:37:25 +0100 Subject: [PATCH] Fixed Boost.Regex workaround in regex_orderable. Fixes #100 --- server_http.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server_http.hpp b/server_http.hpp index c65543d..2651eab 100644 --- a/server_http.hpp +++ b/server_http.hpp @@ -145,8 +145,8 @@ namespace SimpleWeb { class regex_orderable : public REGEX_NS::regex { std::string str; public: - regex_orderable(const char *regex_cstr) : std::regex(regex_cstr), str(regex_cstr) {} - regex_orderable(const std::string ®ex_str) : std::regex(regex_str), str(regex_str) {} + regex_orderable(const char *regex_cstr) : REGEX_NS::regex(regex_cstr), str(regex_cstr) {} + regex_orderable(const std::string ®ex_str) : REGEX_NS::regex(regex_str), str(regex_str) {} bool operator<(const regex_orderable &rhs) const { return str