summaryrefslogtreecommitdiff
path: root/include/regexpr.h
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-01-23 15:28:23 +0000
committerSadie Powell <sadie@witchery.services>2024-01-23 15:28:23 +0000
commita6a0f6c44780c839b2269f4f29a26ecfdbd95544 (patch)
treed4d1fded5c14350eb003a665ca8de500a0440cea /include/regexpr.h
parent398d674cf40c0dba4e4cd2edd0f325ace15128c2 (diff)
Improve the layout of types that inherit from another type.
Diffstat (limited to 'include/regexpr.h')
-rw-r--r--include/regexpr.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/regexpr.h b/include/regexpr.h
index fdb0cce50..536c891c1 100644
--- a/include/regexpr.h
+++ b/include/regexpr.h
@@ -15,7 +15,8 @@
#include "anope.h"
#include "service.h"
-class CoreExport RegexException : public CoreException
+class CoreExport RegexException
+ : public CoreException
{
public:
RegexException(const Anope::string &reason = "") : CoreException(reason) { }
@@ -34,7 +35,8 @@ public:
virtual bool Matches(const Anope::string &str) = 0;
};
-class CoreExport RegexProvider : public Service
+class CoreExport RegexProvider
+ : public Service
{
public:
RegexProvider(Module *o, const Anope::string &n) : Service(o, "Regex", n) { }