mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
remove erroneous const from +
operator
This commit is contained in:
parent
b802dbe077
commit
58f77c4046
@ -207,7 +207,7 @@ class large_number {
|
||||
* operator overload to perform addition
|
||||
**/
|
||||
template <class T>
|
||||
friend large_number &operator+(const large_number &a, const T &b) {
|
||||
friend large_number &operator+(large_number &a, const T &b) {
|
||||
a += b;
|
||||
return a;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user