mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:17:34 +00:00
LibCrypto: Use default instead of an empty constructor/destructor
Default implementations allow for more optimizations. See: https://pvs-studio.com/en/docs/warnings/v832/
This commit is contained in:
parent
5dbc72a158
commit
dba5710efa
6 changed files with 6 additions and 10 deletions
|
@ -88,7 +88,7 @@ class CTR : public Mode<T> {
|
|||
public:
|
||||
constexpr static size_t IVSizeInBits = 128;
|
||||
|
||||
virtual ~CTR() { }
|
||||
virtual ~CTR() = default;
|
||||
|
||||
// Must intercept `Intent`, because AES must always be set to
|
||||
// Encryption, even when decrypting AES-CTR.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue