summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_regex_stdlib.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/extra/m_regex_stdlib.cpp')
-rw-r--r--src/modules/extra/m_regex_stdlib.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/extra/m_regex_stdlib.cpp b/src/modules/extra/m_regex_stdlib.cpp
index 2fa1ae090..5ec358d58 100644
--- a/src/modules/extra/m_regex_stdlib.cpp
+++ b/src/modules/extra/m_regex_stdlib.cpp
@@ -38,7 +38,7 @@ class StdRegex : public Regex
}
}
- bool Matches(const std::string& text)
+ bool Matches(const std::string& text) CXX11_OVERRIDE
{
return std::regex_search(text, regexcl);
}
@@ -49,7 +49,7 @@ class StdRegexFactory : public RegexFactory
public:
std::regex::flag_type regextype;
StdRegexFactory(Module* m) : RegexFactory(m, "regex/stdregex") {}
- Regex* Create(const std::string& expr)
+ Regex* Create(const std::string& expr) CXX11_OVERRIDE
{
return new StdRegex(expr, regextype);
}