aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/hash
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/hash')
-rw-r--r--src/lib/hash/hash.h2
-rw-r--r--src/lib/hash/par_hash/par_hash.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/hash/hash.h b/src/lib/hash/hash.h
index f6cf470cb..5cb290499 100644
--- a/src/lib/hash/hash.h
+++ b/src/lib/hash/hash.h
@@ -56,7 +56,7 @@ class BOTAN_DLL HashFunction : public Buffered_Computation
*/
virtual std::string provider() const { return "base"; }
- virtual ~HashFunction() {}
+ virtual ~HashFunction() = default;
/**
* Reset the state.
diff --git a/src/lib/hash/par_hash/par_hash.h b/src/lib/hash/par_hash/par_hash.h
index cbc2ad591..cf6f49af4 100644
--- a/src/lib/hash/par_hash/par_hash.h
+++ b/src/lib/hash/par_hash/par_hash.h
@@ -34,7 +34,7 @@ class BOTAN_DLL Parallel final : public HashFunction
Parallel(const Parallel&) = delete;
Parallel& operator=(const Parallel&) = delete;
private:
- Parallel() {}
+ Parallel() = delete;
void add_data(const uint8_t[], size_t) override;
void final_result(uint8_t[]) override;