diff options
Diffstat (limited to 'include/anope.h')
-rw-r--r-- | include/anope.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/anope.h b/include/anope.h index 1267a1d88..17677bf73 100644 --- a/include/anope.h +++ b/include/anope.h @@ -665,7 +665,7 @@ class CoreException : public std::exception * Actually no, it does nothing. Never mind. * @throws Nothing! */ - virtual ~CoreException() throw() = default; + virtual ~CoreException() noexcept = default; /** Returns the reason for the exception. * The module should probably put something informative here as the user will see this upon failure. */ @@ -694,7 +694,7 @@ class ModuleException : public CoreException * Actually no, it does nothing. Never mind. * @throws Nothing! */ - virtual ~ModuleException() throw() = default; + virtual ~ModuleException() noexcept = default; }; class ConvertException : public CoreException @@ -702,7 +702,7 @@ class ConvertException : public CoreException public: ConvertException(const Anope::string &reason = "") : CoreException(reason) { } - virtual ~ConvertException() throw() = default; + virtual ~ConvertException() noexcept = default; }; /** Convert something to a string |