From e9877639b2ebfdde26300f30ca1c12b0acb747e0 Mon Sep 17 00:00:00 2001 From: eidheim Date: Tue, 5 Mar 2019 10:00:38 +0100 Subject: [PATCH] Fixes #255: Made regex_orderable::str public --- server_http.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server_http.hpp b/server_http.hpp index 7abc731..e5f3749 100644 --- a/server_http.hpp +++ b/server_http.hpp @@ -359,9 +359,9 @@ namespace SimpleWeb { private: class regex_orderable : public regex::regex { + public: std::string str; - public: regex_orderable(const char *regex_cstr) : regex::regex(regex_cstr), str(regex_cstr) {} regex_orderable(std::string regex_str_) : regex::regex(regex_str_), str(std::move(regex_str_)) {} bool operator<(const regex_orderable &rhs) const noexcept {