diff options
author | Jack Lloyd <[email protected]> | 2019-05-08 18:36:09 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2019-05-08 18:39:09 -0400 |
commit | cbe17e860b70bab2d29323bab39e73fbfad6a956 (patch) | |
tree | 9c19b2341776a0144dfe804fe73df710048ea5ba /src/lib/pubkey/ecies | |
parent | 300afa13058ff7b063f4b92dcf1ddc45cf0e881e (diff) |
Fix some warnings with Clang 8
Notably several from the new -Wdefaulted-function-deleted
Also remove some compat macro checks for MSVC 2013
Diffstat (limited to 'src/lib/pubkey/ecies')
-rw-r--r-- | src/lib/pubkey/ecies/ecies.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/pubkey/ecies/ecies.h b/src/lib/pubkey/ecies/ecies.h index e36f94568..1b35c8cc7 100644 --- a/src/lib/pubkey/ecies/ecies.h +++ b/src/lib/pubkey/ecies/ecies.h @@ -68,7 +68,8 @@ class BOTAN_PUBLIC_API(2,0) ECIES_KA_Params PointGFp::Compression_Type compression_type, ECIES_Flags flags); ECIES_KA_Params(const ECIES_KA_Params&) = default; - ECIES_KA_Params& operator=(const ECIES_KA_Params&) = default; + ECIES_KA_Params& operator=(const ECIES_KA_Params&) = delete; + virtual ~ECIES_KA_Params() = default; inline const EC_Group& domain() const @@ -149,7 +150,7 @@ class BOTAN_PUBLIC_API(2,0) ECIES_System_Params final : public ECIES_KA_Params PointGFp::Compression_Type compression_type, ECIES_Flags flags); ECIES_System_Params(const ECIES_System_Params&) = default; - ECIES_System_Params& operator=(const ECIES_System_Params&) = default; + ECIES_System_Params& operator=(const ECIES_System_Params&) = delete; virtual ~ECIES_System_Params() = default; /// creates an instance of the message authentication code |