aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/modes
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/modes')
-rw-r--r--src/lib/modes/aead/aead.h2
-rw-r--r--src/lib/modes/cipher_mode.h2
-rw-r--r--src/lib/modes/mode_pad/mode_pad.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/modes/aead/aead.h b/src/lib/modes/aead/aead.h
index 3d3c7287f..a0b11541b 100644
--- a/src/lib/modes/aead/aead.h
+++ b/src/lib/modes/aead/aead.h
@@ -74,7 +74,7 @@ class BOTAN_DLL AEAD_Mode : public Cipher_Mode
*/
size_t default_nonce_length() const override { return 12; }
- virtual ~AEAD_Mode() {}
+ virtual ~AEAD_Mode() = default;
};
/**
diff --git a/src/lib/modes/cipher_mode.h b/src/lib/modes/cipher_mode.h
index cdf16e37c..411a1b3e5 100644
--- a/src/lib/modes/cipher_mode.h
+++ b/src/lib/modes/cipher_mode.h
@@ -23,7 +23,7 @@ namespace Botan {
class BOTAN_DLL Cipher_Mode
{
public:
- virtual ~Cipher_Mode() {}
+ virtual ~Cipher_Mode() = default;
/*
* Prepare for processing a message under the specified nonce
diff --git a/src/lib/modes/mode_pad/mode_pad.h b/src/lib/modes/mode_pad/mode_pad.h
index cfa27463b..c221882cc 100644
--- a/src/lib/modes/mode_pad/mode_pad.h
+++ b/src/lib/modes/mode_pad/mode_pad.h
@@ -59,7 +59,7 @@ class BOTAN_DLL BlockCipherModePaddingMethod
/**
* virtual destructor
*/
- virtual ~BlockCipherModePaddingMethod() {}
+ virtual ~BlockCipherModePaddingMethod() = default;
};
/**