summaryrefslogtreecommitdiff
path: root/modules/extra/m_regex_posix.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-01-23 13:54:16 +0000
committerSadie Powell <sadie@witchery.services>2024-01-23 16:53:06 +0000
commit72acef4e159df5dcdb93b3c13b2f9d2e5e4c21a9 (patch)
treefc0a965612b45478e3b6f1566641df12790a818d /modules/extra/m_regex_posix.cpp
parenta6a0f6c44780c839b2269f4f29a26ecfdbd95544 (diff)
Mark types that have no inheritors as final.
Diffstat (limited to 'modules/extra/m_regex_posix.cpp')
-rw-r--r--modules/extra/m_regex_posix.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/extra/m_regex_posix.cpp b/modules/extra/m_regex_posix.cpp
index c4217a5c4..cef4486f9 100644
--- a/modules/extra/m_regex_posix.cpp
+++ b/modules/extra/m_regex_posix.cpp
@@ -10,7 +10,7 @@
#include <sys/types.h>
#include <regex.h>
-class POSIXRegex
+class POSIXRegex final
: public Regex
{
regex_t regbuf;
@@ -39,7 +39,7 @@ public:
}
};
-class POSIXRegexProvider
+class POSIXRegexProvider final
: public RegexProvider
{
public:
@@ -51,7 +51,7 @@ public:
}
};
-class ModuleRegexPOSIX
+class ModuleRegexPOSIX final
: public Module
{
POSIXRegexProvider posix_regex_provider;