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_stdlib.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/modules/m_regex_stdlib.cpp') diff --git a/src/modules/m_regex_stdlib.cpp b/src/modules/m_regex_stdlib.cpp index 0e048d6f4..df32db362 100644 --- a/src/modules/m_regex_stdlib.cpp +++ b/src/modules/m_regex_stdlib.cpp @@ -59,15 +59,14 @@ class StdRegexFactory : public RegexFactory class ModuleRegexStd : public Module { -public: + private: StdRegexFactory ref; - ModuleRegexStd() : ref(this) - { - } - Version GetVersion() override + public: + ModuleRegexStd() + : Module(VF_VENDOR, "Regex Provider Module for std::regex") + , ref(this) { - return Version("Regex Provider Module for std::regex", VF_VENDOR); } void ReadConfig(ConfigStatus& status) override -- cgit v1.3.1-10-gc9f91