diff options
author | Jack Lloyd <[email protected]> | 2017-10-03 09:57:04 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-10-03 09:57:04 -0400 |
commit | 26517eb98af4c3bb1faf38653ab55ae0956578eb (patch) | |
tree | 61ebd8ee9568369a4f2e6ff1806d47213f20032d /src/lib/compression/compression.h | |
parent | 698f78182485587b6aa7773a43beac9033064e89 (diff) |
Avoid empty methods, use =default or add a comment
Sonar
Diffstat (limited to 'src/lib/compression/compression.h')
-rw-r--r-- | src/lib/compression/compression.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/compression/compression.h b/src/lib/compression/compression.h index ac1de5774..2ebde3f2f 100644 --- a/src/lib/compression/compression.h +++ b/src/lib/compression/compression.h @@ -56,7 +56,7 @@ class BOTAN_PUBLIC_API(2,0) Compression_Algorithm */ virtual void clear() = 0; - virtual ~Compression_Algorithm() {} + virtual ~Compression_Algorithm() = default; }; /* @@ -97,7 +97,7 @@ class BOTAN_PUBLIC_API(2,0) Decompression_Algorithm */ virtual void clear() = 0; - virtual ~Decompression_Algorithm() {} + virtual ~Decompression_Algorithm() = default; }; BOTAN_PUBLIC_API(2,0) Compression_Algorithm* make_compressor(const std::string& type); @@ -109,7 +109,7 @@ BOTAN_PUBLIC_API(2,0) Decompression_Algorithm* make_decompressor(const std::stri class Compression_Stream { public: - virtual ~Compression_Stream() {} + virtual ~Compression_Stream() = default; virtual void next_in(uint8_t* b, size_t len) = 0; |