diff options
author | Sadie Powell <sadie@witchery.services> | 2022-01-03 18:52:15 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2022-01-04 00:17:19 +0000 |
commit | a31a7f5a6ce3f47716a9313d232c2a40955fd1e1 (patch) | |
tree | 8061f572670ccda9030955b67cdefba7df4facce /include/modules/ldap.h | |
parent | 7531e90499d4cd60b6464c692725225e85c00738 (diff) |
Use C++11 default initializers and destructors where possible.
Diffstat (limited to 'include/modules/ldap.h')
-rw-r--r-- | include/modules/ldap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/modules/ldap.h b/include/modules/ldap.h index 74dad36a3..7b778b6d4 100644 --- a/include/modules/ldap.h +++ b/include/modules/ldap.h @@ -14,7 +14,7 @@ class LDAPException : public ModuleException public: LDAPException(const Anope::string &reason) : ModuleException(reason) { } - virtual ~LDAPException() throw() { } + virtual ~LDAPException() throw() = default; }; struct LDAPModification @@ -116,7 +116,7 @@ class LDAPInterface Module *owner; LDAPInterface(Module *m) : owner(m) { } - virtual ~LDAPInterface() { } + virtual ~LDAPInterface() = default; virtual void OnResult(const LDAPResult &r) = 0; virtual void OnError(const LDAPResult &err) = 0; |