summaryrefslogtreecommitdiff
path: root/modarith.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2019-06-05 10:52:45 -0400
committerJeffrey Walton <noloader@gmail.com>2019-06-05 10:52:45 -0400
commit17fa3031b37c997f911a599f84ac8c59b6e5dbf5 (patch)
tree240ea7d48bd00bafc4d0426ae1c898477d04c3db /modarith.h
parentd8122cec16ff5d50595d8c74129f4bfd925ffc2c (diff)
downloadcryptopp-git-17fa3031b37c997f911a599f84ac8c59b6e5dbf5.tar.gz
Clear lgtm finding in ECP class
Diffstat (limited to 'modarith.h')
-rw-r--r--modarith.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/modarith.h b/modarith.h
index 96e845e8..aa90c8a5 100644
--- a/modarith.h
+++ b/modarith.h
@@ -49,12 +49,12 @@ public:
/// \brief Construct a ModularArithmetic
/// \param modulus congruence class modulus
ModularArithmetic(const Integer &modulus = Integer::One())
- : AbstractRing<Integer>(), m_modulus(modulus), m_result(static_cast<word>(0), modulus.reg.size()) {}
+ : m_modulus(modulus), m_result(static_cast<word>(0), modulus.reg.size()) {}
/// \brief Copy construct a ModularArithmetic
/// \param ma other ModularArithmetic
ModularArithmetic(const ModularArithmetic &ma)
- : AbstractRing<Integer>(), m_modulus(ma.m_modulus), m_result(static_cast<word>(0), ma.m_modulus.reg.size()) {}
+ : m_modulus(ma.m_modulus), m_result(static_cast<word>(0), ma.m_modulus.reg.size()) {}
/// \brief Construct a ModularArithmetic
/// \param bt BER encoded ModularArithmetic