diff options
| author | 2019-01-25 02:52:11 +0000 | |
|---|---|---|
| committer | 2019-01-25 02:52:11 +0000 | |
| commit | c78ecdf579c0bf0a75ed0f9641ffef8d89c17ec8 (patch) | |
| tree | 4d7b4e6135e4b8340698419a83bc29edec18a5ea /src/modules/m_regex_glob.cpp | |
| parent | Remove the DEPRECATED_METHOD macro. (diff) | |
Replace the override macro with the override keyword.
Diffstat (limited to 'src/modules/m_regex_glob.cpp')
| -rw-r--r-- | src/modules/m_regex_glob.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_regex_glob.cpp b/src/modules/m_regex_glob.cpp index 9c3162885..929dc04d5 100644 --- a/src/modules/m_regex_glob.cpp +++ b/src/modules/m_regex_glob.cpp @@ -28,7 +28,7 @@ public: { } - bool Matches(const std::string& text) CXX11_OVERRIDE + bool Matches(const std::string& text) override { return InspIRCd::Match(text, this->regex_string); } @@ -37,7 +37,7 @@ public: class GlobFactory : public RegexFactory { public: - Regex* Create(const std::string& expr) CXX11_OVERRIDE + Regex* Create(const std::string& expr) override { return new GlobRegex(expr); } @@ -54,7 +54,7 @@ public: { } - Version GetVersion() CXX11_OVERRIDE + Version GetVersion() override { return Version("Regex module using plain wildcard matching.", VF_VENDOR); } |
