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/modules | |
| parent | b7e85f5161104d203a09494070336febdfbd2909 (diff) | |
Use noexcept instead of an empty exception specifier.
Diffstat (limited to 'include/modules')
| -rw-r--r-- | include/modules/ldap.h | 2 | ||||
| -rw-r--r-- | include/modules/sql.h | 2 |
2 files changed, 2 insertions, 2 deletions
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 |
