From 58f77c404696402bc5b45174ad1f02baaedfda4b Mon Sep 17 00:00:00 2001 From: Krishna Vedala <7001608+kvedala@users.noreply.github.com> Date: Sun, 24 May 2020 16:27:18 -0400 Subject: [PATCH] remove erroneous const from `+` operator --- others/large_number.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/others/large_number.h b/others/large_number.h index 4f3851053..38d9125de 100644 --- a/others/large_number.h +++ b/others/large_number.h @@ -207,7 +207,7 @@ class large_number { * operator overload to perform addition **/ template - 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; }