From fbef72e11c483fae16c32480cf84253a56d0ee25 Mon Sep 17 00:00:00 2001 From: Tomasz Frydrych Date: Sun, 2 Apr 2017 22:24:31 +0200 Subject: Content: * fixes for deprecated constructions in c++11 and later (explicit rule of 3/5 or implicit rule of 0 and other violations) * `default` specifier instead of `{}` in some places(probably all) * removal of unreachable code (for example `return` after `throw`) * removal of compilation unit only visible, but not used functions * fix for `throw()` specifier - used instead `BOTAN_NOEXCEPT` * removed not needed semicolons --- src/lib/pubkey/dh/dh.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/pubkey/dh/dh.h') diff --git a/src/lib/pubkey/dh/dh.h b/src/lib/pubkey/dh/dh.h index d5e86d154..f3f4b746b 100644 --- a/src/lib/pubkey/dh/dh.h +++ b/src/lib/pubkey/dh/dh.h @@ -40,7 +40,7 @@ class BOTAN_DLL DH_PublicKey : public virtual DL_Scheme_PublicKey */ DH_PublicKey(const DL_Group& grp, const BigInt& y); protected: - DH_PublicKey() {} + DH_PublicKey() = default; }; /** -- cgit v1.2.3