aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/mce/mceliece.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2022-02-04 18:05:34 -0500
committerJack Lloyd <[email protected]>2022-02-06 08:52:16 -0500
commitfbb7c5fba1bcde2460dda48c1423a23b3b3062bf (patch)
treec0b9cd348067f0813d80e9b1b23b149d1a0d0af2 /src/lib/pubkey/mce/mceliece.h
parent3c8d79246c7c5c57296d3165922b58aad401e5e3 (diff)
Fix clang-tidy performance warnings
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;