diff options
-rw-r--r-- | include/anope.h | 6 | ||||
-rw-r--r-- | include/config.h | 2 | ||||
-rw-r--r-- | include/modules/ldap.h | 2 | ||||
-rw-r--r-- | include/modules/sql.h | 2 | ||||
-rw-r--r-- | include/regexpr.h | 2 | ||||
-rw-r--r-- | include/sockets.h | 2 |
6 files changed, 8 insertions, 8 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 diff --git a/include/config.h b/include/config.h index 4acd32f09..8b8cb65ca 100644 --- a/include/config.h +++ b/include/config.h @@ -177,7 +177,7 @@ class ConfigException : public CoreException * Actually no, it does nothing. Never mind. * @throws Nothing! */ - virtual ~ConfigException() throw() = default; + virtual ~ConfigException() noexcept = default; }; extern Configuration::File ServicesConf; diff --git a/include/modules/ldap.h b/include/modules/ldap.h index 2b4177657..95c780599 100644 --- a/include/modules/ldap.h +++ b/include/modules/ldap.h @@ -13,7 +13,7 @@ class LDAPException : public ModuleException public: LDAPException(const Anope::string &reason) : ModuleException(reason) { } - virtual ~LDAPException() throw() = default; + virtual ~LDAPException() noexcept = default; }; struct LDAPModification diff --git a/include/modules/sql.h b/include/modules/sql.h index 7ee150b83..e94a36a1b 100644 --- a/include/modules/sql.h +++ b/include/modules/sql.h @@ -84,7 +84,7 @@ namespace SQL public: Exception(const Anope::string &reason) : ModuleException(reason) { } - virtual ~Exception() throw() = default; + virtual ~Exception() noexcept = default; }; /** A SQL query 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 diff --git a/include/sockets.h b/include/sockets.h index 41cb7c7b6..24e580902 100644 --- a/include/sockets.h +++ b/include/sockets.h @@ -125,7 +125,7 @@ class SocketException : public CoreException /** Destructor * @throws Nothing */ - virtual ~SocketException() throw() = default; + virtual ~SocketException() noexcept = default; }; enum SocketFlag |