diff options
author | Jeffrey Walton <noloader@gmail.com> | 2015-07-23 19:17:07 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2015-07-23 19:17:07 -0400 |
commit | e87857f67de99e53d1fc9d00a794ea491eeadfdf (patch) | |
tree | 5ea8e254d7b6bf42ae9bf51d777aea2d92205045 /modarith.h | |
parent | 5bb0e6fd38beebdded2992d871929ebde94eaff8 (diff) | |
download | cryptopp-git-e87857f67de99e53d1fc9d00a794ea491eeadfdf.tar.gz |
Cleared "missing initialization in copy constructor" warning with GCC 5.1 and -Wextra
Diffstat (limited to 'modarith.h')
-rw-r--r-- | modarith.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -24,10 +24,10 @@ public: typedef Integer Element; ModularArithmetic(const Integer &modulus = Integer::One()) - : m_modulus(modulus), m_result((word)0, modulus.reg.size()) {} + : m_modulus(modulus), m_result((word)0, modulus.reg.size()), m_result1(Integer::Zero()) {} ModularArithmetic(const ModularArithmetic &ma) - : m_modulus(ma.m_modulus), m_result((word)0, m_modulus.reg.size()) {} + : AbstractRing<Integer>(ma), m_modulus(ma.m_modulus), m_result((word)0, m_modulus.reg.size()), m_result1(Integer::Zero()) {} ModularArithmetic(BufferedTransformation &bt); // construct from BER encoded parameters |