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/base | |
parent | 698f78182485587b6aa7773a43beac9033064e89 (diff) |
Avoid empty methods, use =default or add a comment
Sonar
Diffstat (limited to 'src/lib/base')
-rw-r--r-- | src/lib/base/buf_comp.h | 2 | ||||
-rw-r--r-- | src/lib/base/sym_algo.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/base/buf_comp.h b/src/lib/base/buf_comp.h index b4e1eb7a1..a6cc84ba3 100644 --- a/src/lib/base/buf_comp.h +++ b/src/lib/base/buf_comp.h @@ -163,7 +163,7 @@ class BOTAN_PUBLIC_API(2,0) Buffered_Computation return final(); } - virtual ~Buffered_Computation() {} + virtual ~Buffered_Computation() = default; private: /** * Add more data to the computation diff --git a/src/lib/base/sym_algo.h b/src/lib/base/sym_algo.h index 7dbf600f8..a596f5932 100644 --- a/src/lib/base/sym_algo.h +++ b/src/lib/base/sym_algo.h @@ -21,7 +21,7 @@ namespace Botan { class BOTAN_PUBLIC_API(2,0) SymmetricAlgorithm { public: - virtual ~SymmetricAlgorithm() {} + virtual ~SymmetricAlgorithm() = default; /** * Reset the state. |