diff options
| author | 2020-11-01 02:22:41 +0000 | |
|---|---|---|
| committer | 2020-11-01 02:22:41 +0000 | |
| commit | 579a17df389843b21828e99e10d1f6fde45f28e9 (patch) | |
| tree | fbfe63e811c38f620784240d261684ad3f5f9106 /include/modules/ldap.h | |
| parent | Merge branch 'insp3' into master. (diff) | |
Clean up a bunch of contructors and destructors.
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 03b3e87be..ce3f750a9 100644 --- a/include/modules/ldap.h +++ b/include/modules/ldap.h @@ -25,7 +25,7 @@ class LDAPException : public ModuleException public: LDAPException(const std::string& reason) : ModuleException(reason) { } - virtual ~LDAPException() throw() { } + virtual ~LDAPException() noexcept = default; }; struct LDAPModification @@ -130,7 +130,7 @@ class LDAPInterface ModuleRef creator; LDAPInterface(Module* m) : creator(m) { } - virtual ~LDAPInterface() { } + virtual ~LDAPInterface() = default; virtual void OnResult(const LDAPResult& r) = 0; virtual void OnError(const LDAPResult& err) = 0; |
