summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_regex_tre.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/extra/m_regex_tre.cpp')
-rw-r--r--src/modules/extra/m_regex_tre.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/extra/m_regex_tre.cpp b/src/modules/extra/m_regex_tre.cpp
index c352d5fdf..0718e5bb1 100644
--- a/src/modules/extra/m_regex_tre.cpp
+++ b/src/modules/extra/m_regex_tre.cpp
@@ -63,12 +63,12 @@ public:
}
}
- virtual ~TRERegex()
+ ~TRERegex()
{
regfree(&regbuf);
}
- virtual bool Matches(const std::string& text)
+ bool Matches(const std::string& text)
{
if (regexec(&regbuf, text.c_str(), 0, NULL, 0) == 0)
{
@@ -99,7 +99,7 @@ class ModuleRegexTRE : public Module
ServerInstance->Modules->AddService(trf);
}
- Version GetVersion()
+ Version GetVersion() CXX11_OVERRIDE
{
return Version("Regex Provider Module for TRE Regular Expressions", VF_VENDOR);
}