summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_regex_re2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/extra/m_regex_re2.cpp')
-rw-r--r--src/modules/extra/m_regex_re2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/extra/m_regex_re2.cpp b/src/modules/extra/m_regex_re2.cpp
index b97b7ec0f..2525b70ab 100644
--- a/src/modules/extra/m_regex_re2.cpp
+++ b/src/modules/extra/m_regex_re2.cpp
@@ -43,7 +43,7 @@ class RE2Regex : public Regex
}
}
- bool Matches(const std::string& text)
+ bool Matches(const std::string& text) CXX11_OVERRIDE
{
return RE2::FullMatch(text, regexcl);
}
@@ -53,7 +53,7 @@ class RE2Factory : public RegexFactory
{
public:
RE2Factory(Module* m) : RegexFactory(m, "regex/re2") { }
- Regex* Create(const std::string& expr)
+ Regex* Create(const std::string& expr) CXX11_OVERRIDE
{
return new RE2Regex(expr);
}