aboutsummaryrefslogtreecommitdiffstats
path: root/src/hash/comb4p
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-07-10 21:13:06 +0000
committerlloyd <[email protected]>2012-07-10 21:13:06 +0000
commit3a33e128961e7ea4bd584639ba393d056bec3d23 (patch)
treea1ad9cb2ca67541a90a61b0723c7040191484356 /src/hash/comb4p
parent0e718e402cb58c5ccfe538dfe36962c73a223d3a (diff)
Add deleted copy constructors/assignment operators where appropriate.
Replace C++98 style private copy constructors/assignment ops with ones annotated with delete.
Diffstat (limited to 'src/hash/comb4p')
-rw-r--r--src/hash/comb4p/comb4p.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/hash/comb4p/comb4p.h b/src/hash/comb4p/comb4p.h
index 73e06c379..7ad789cef 100644
--- a/src/hash/comb4p/comb4p.h
+++ b/src/hash/comb4p/comb4p.h
@@ -25,6 +25,9 @@ class BOTAN_DLL Comb4P : public HashFunction
*/
Comb4P(HashFunction* h1, HashFunction* h2);
+ Comp4P(const Comp4P&) = delete;
+ Comp4P& operator=(const Comp4P&) = delete;
+
~Comb4P() { delete hash1; delete hash2; }
size_t hash_block_size() const;