Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/miloyip/rapidjson.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilo Yip <miloyip@gmail.com>2014-09-14 20:31:38 +0400
committerMilo Yip <miloyip@gmail.com>2014-09-14 20:31:38 +0400
commitbea4fa7f6a2d0c558f065013c39a47b90684ee1f (patch)
treeafe74b4a2ea4ae5cc9b0422653c806e765b4549f /include/rapidjson
parentcbd747524272225de131f78ce9163766024ad462 (diff)
Remove unused BigInteger::operator+=(const BigInteger&)
Diffstat (limited to 'include/rapidjson')
-rw-r--r--include/rapidjson/internal/strtod.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/include/rapidjson/internal/strtod.h b/include/rapidjson/internal/strtod.h
index 01463fe2..46248bc1 100644
--- a/include/rapidjson/internal/strtod.h
+++ b/include/rapidjson/internal/strtod.h
@@ -122,22 +122,6 @@ public:
return *this;
}
- BigInteger& operator+=(const BigInteger& rhs) {
- size_t count = count_ > rhs.count_ ? count_ : rhs.count_;
- bool carry = false;
- for (size_t i = 0; i < count; i++) {
- bool outCarry;
- digits_[i] = FullAdd(i < count_ ? digits_[i] : 0, i < rhs.count_ ? rhs.digits_[i] : 0, carry, &outCarry);
- carry = outCarry;
- }
- count_ = count;
-
- if (carry)
- PushBack(1);
-
- return *this;
- }
-
BigInteger& operator*=(uint64_t u) {
if (u == 0) return *this = 0;
if (u == 1) return *this;