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/pbkdf/pbkdf.cpp | 2 -- src/lib/pbkdf/pbkdf.h | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'src/lib/pbkdf') diff --git a/src/lib/pbkdf/pbkdf.cpp b/src/lib/pbkdf/pbkdf.cpp index 8f72a9180..a60c93d5c 100644 --- a/src/lib/pbkdf/pbkdf.cpp +++ b/src/lib/pbkdf/pbkdf.cpp @@ -18,8 +18,6 @@ namespace Botan { -PBKDF::~PBKDF() {} - std::unique_ptr PBKDF::create(const std::string& algo_spec, const std::string& provider) { diff --git a/src/lib/pbkdf/pbkdf.h b/src/lib/pbkdf/pbkdf.h index 95cf4da02..0f2feb751 100644 --- a/src/lib/pbkdf/pbkdf.h +++ b/src/lib/pbkdf/pbkdf.h @@ -47,7 +47,7 @@ class BOTAN_DLL PBKDF */ virtual std::string name() const = 0; - virtual ~PBKDF(); + virtual ~PBKDF() = default; /** * Derive a key from a passphrase for a number of iterations -- cgit v1.2.3