mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-27 03:40:22 +00:00
Cleared "missing initialization in copy constructor" warning with GCC 5.1 and -Wextra
This commit is contained in:
parent
5bb0e6fd38
commit
e87857f67d
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user