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/math | |
parent | 698f78182485587b6aa7773a43beac9033064e89 (diff) |
Avoid empty methods, use =default or add a comment
Sonar
Diffstat (limited to 'src/lib/math')
-rw-r--r-- | src/lib/math/numbertheory/pow_mod.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/math/numbertheory/pow_mod.h b/src/lib/math/numbertheory/pow_mod.h index cca99b714..077f4ccf7 100644 --- a/src/lib/math/numbertheory/pow_mod.h +++ b/src/lib/math/numbertheory/pow_mod.h @@ -93,7 +93,7 @@ class BOTAN_PUBLIC_API(2,0) Power_Mod Usage_Hints hints = NO_HINTS, bool disable_montgomery_arith = false); Power_Mod(const Power_Mod&); - virtual ~Power_Mod() {} + virtual ~Power_Mod() = default; private: mutable std::unique_ptr<Modular_Exponentiator> m_core; }; |