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:
Brian Gianforcaro 2021-09-15 23:32:51 -07:00 committed by Andreas Kling
commit dba5710efa
Notes: sideshowbarker 2024-07-18 03:52:17 +09:00
6 changed files with 6 additions and 10 deletions

View file

@ -24,7 +24,7 @@ class GCM : public CTR<T, IncrementFunction> {
public:
constexpr static size_t IVSizeInBits = 128;
virtual ~GCM() { }
virtual ~GCM() = default;
template<typename... Args>
explicit constexpr GCM<T>(Args... args)