summaryrefslogtreecommitdiff
path: root/include/regexpr.h
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2023-12-17 13:59:49 +0000
committerSadie Powell <sadie@witchery.services>2023-12-17 13:59:49 +0000
commit6538641e8703084460df70d04196ac271eff1266 (patch)
tree2bf8ab8fdd0fb4839d86607826bc09c3366e3870 /include/regexpr.h
parenteb0e5c89b2a1e59091001ffd0e54582c2ff04212 (diff)
Remove some unnecessary spaces that break editor indentation.
Diffstat (limited to 'include/regexpr.h')
-rw-r--r--include/regexpr.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/regexpr.h b/include/regexpr.h
index 7ddfa9a55..9000e5119 100644
--- a/include/regexpr.h
+++ b/include/regexpr.h
@@ -17,7 +17,7 @@
class RegexException : public CoreException
{
- public:
+public:
RegexException(const Anope::string &reason = "") : CoreException(reason) { }
virtual ~RegexException() noexcept = default;
@@ -26,9 +26,9 @@ class RegexException : public CoreException
class CoreExport Regex
{
Anope::string expression;
- protected:
+protected:
Regex(const Anope::string &expr) : expression(expr) { }
- public:
+public:
virtual ~Regex() = default;
const Anope::string &GetExpression() { return expression; }
virtual bool Matches(const Anope::string &str) = 0;
@@ -36,7 +36,7 @@ class CoreExport Regex
class CoreExport RegexProvider : public Service
{
- public:
+public:
RegexProvider(Module *o, const Anope::string &n) : Service(o, "Regex", n) { }
virtual Regex *Compile(const Anope::string &) = 0;
};