aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/mce/mceliece.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/pubkey/mce/mceliece.h')
-rw-r--r--src/lib/pubkey/mce/mceliece.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/lib/pubkey/mce/mceliece.h b/src/lib/pubkey/mce/mceliece.h
index 3ac48aeb4..c7e0ab65e 100644
--- a/src/lib/pubkey/mce/mceliece.h
+++ b/src/lib/pubkey/mce/mceliece.h
@@ -98,10 +98,11 @@ class BOTAN_PUBLIC_API(2,0) McEliece_PrivateKey final : public virtual McEliece_
~McEliece_PrivateKey();
- McEliece_PrivateKey(const McEliece_PrivateKey&);
- McEliece_PrivateKey(McEliece_PrivateKey&&);
- McEliece_PrivateKey& operator=(const McEliece_PrivateKey&);
- McEliece_PrivateKey& operator=(McEliece_PrivateKey&&);
+ McEliece_PrivateKey(const McEliece_PrivateKey&) = default;
+ McEliece_PrivateKey& operator=(const McEliece_PrivateKey&) = default;
+
+ McEliece_PrivateKey(McEliece_PrivateKey&&) noexcept = default;
+ McEliece_PrivateKey& operator=(McEliece_PrivateKey&&) noexcept = default;
bool check_key(RandomNumberGenerator& rng, bool strong) const override;