Fixed Boost.Regex workaround in regex_orderable. Fixes #100
This commit is contained in:
parent
f5e65bf422
commit
19627bbe6b
1 changed files with 2 additions and 2 deletions
|
|
@ -145,8 +145,8 @@ namespace SimpleWeb {
|
||||||
class regex_orderable : public REGEX_NS::regex {
|
class regex_orderable : public REGEX_NS::regex {
|
||||||
std::string str;
|
std::string str;
|
||||||
public:
|
public:
|
||||||
regex_orderable(const char *regex_cstr) : std::regex(regex_cstr), str(regex_cstr) {}
|
regex_orderable(const char *regex_cstr) : REGEX_NS::regex(regex_cstr), str(regex_cstr) {}
|
||||||
regex_orderable(const std::string ®ex_str) : std::regex(regex_str), str(regex_str) {}
|
regex_orderable(const std::string ®ex_str) : REGEX_NS::regex(regex_str), str(regex_str) {}
|
||||||
bool operator<(const regex_orderable &rhs) const {
|
bool operator<(const regex_orderable &rhs) const {
|
||||||
return str<rhs.str;
|
return str<rhs.str;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue