mirror of
https://github.com/QuasarApp/qca.git
synced 2025-05-08 08:49:34 +00:00
Add operator= to BigInt
Also make it just be implemented with the default as the tests show that is enough Fixes warning in newer gcc
This commit is contained in:
parent
001f827a4f
commit
a29518b978
src/botantools/botan
@ -94,6 +94,8 @@ BigInt::BigInt(const BigInt& b)
|
||||
}
|
||||
}
|
||||
|
||||
BigInt &BigInt::operator=(const BigInt&) = default;
|
||||
|
||||
/*************************************************
|
||||
* Construct a BigInt from a string *
|
||||
*************************************************/
|
||||
|
@ -150,6 +150,7 @@ class BigInt // clazy:exclude=rule-of-three TODO Needs checking if a real bug or
|
||||
#ifndef BOTAN_MINIMAL_BIGINT
|
||||
BigInt(NumberType, u32bit);
|
||||
#endif
|
||||
BigInt &operator=(const BigInt&);
|
||||
private:
|
||||
void grow_to(u32bit) const;
|
||||
SecureVector<word> reg;
|
||||
|
Loading…
x
Reference in New Issue
Block a user