summaryrefslogtreecommitdiff
path: root/include/regexpr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/regexpr.h')
-rw-r--r--include/regexpr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/regexpr.h b/include/regexpr.h
index 92be87c89..20ed28098 100644
--- a/include/regexpr.h
+++ b/include/regexpr.h
@@ -21,7 +21,7 @@ class RegexException : public CoreException
public:
RegexException(const Anope::string &reason = "") : CoreException(reason) { }
- virtual ~RegexException() throw() { }
+ virtual ~RegexException() throw() = default;
};
class CoreExport Regex
@@ -30,7 +30,7 @@ class CoreExport Regex
protected:
Regex(const Anope::string &expr) : expression(expr) { }
public:
- virtual ~Regex() { }
+ virtual ~Regex() = default;
const Anope::string &GetExpression() { return expression; }
virtual bool Matches(const Anope::string &str) = 0;
};