From 1a800f7b3db23cdef7e167cd25c0f3b2a64a8e46 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 9 Apr 2020 18:57:50 +0100 Subject: Improve storage of module description, flags, and link data. --- src/modules/m_regex_glob.cpp | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'src/modules/m_regex_glob.cpp') diff --git a/src/modules/m_regex_glob.cpp b/src/modules/m_regex_glob.cpp index e1efd0f47..6e41c8ad9 100644 --- a/src/modules/m_regex_glob.cpp +++ b/src/modules/m_regex_glob.cpp @@ -52,16 +52,14 @@ class GlobFactory : public RegexFactory class ModuleRegexGlob : public Module { + private: GlobFactory gf; -public: - ModuleRegexGlob() - : gf(this) - { - } - Version GetVersion() override + public: + ModuleRegexGlob() + : Module(VF_VENDOR, "Regex provider module using plain wildcard matching") + , gf(this) { - return Version("Regex provider module using plain wildcard matching", VF_VENDOR); } }; -- cgit v1.3.1-10-gc9f91