diff options
author | Sadie Powell <sadie@witchery.services> | 2022-03-01 05:06:19 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2022-03-01 05:06:19 +0000 |
commit | a8724b5f03adc05355c52fb7c75c9f1b6136348d (patch) | |
tree | 85f6924f1ffa0ad6b54bf8bf1c5202a1e1a07d99 /include/regexpr.h | |
parent | b7e85f5161104d203a09494070336febdfbd2909 (diff) |
Use noexcept instead of an empty exception specifier.
Diffstat (limited to 'include/regexpr.h')
-rw-r--r-- | include/regexpr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/regexpr.h b/include/regexpr.h index 697e32c6e..8f5190b3a 100644 --- a/include/regexpr.h +++ b/include/regexpr.h @@ -20,7 +20,7 @@ class RegexException : public CoreException public: RegexException(const Anope::string &reason = "") : CoreException(reason) { } - virtual ~RegexException() throw() = default; + virtual ~RegexException() noexcept = default; }; class CoreExport Regex |