From 4be4857a19d48430fc32b9939cc4ce30403fe522 Mon Sep 17 00:00:00 2001 From: miloyip Date: Tue, 14 Apr 2015 14:58:48 +0800 Subject: [PATCH] Remove ununused BigInteger::FullAdd() --- include/rapidjson/internal/biginteger.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/include/rapidjson/internal/biginteger.h b/include/rapidjson/internal/biginteger.h index e4703d6c..b0882044 100755 --- a/include/rapidjson/internal/biginteger.h +++ b/include/rapidjson/internal/biginteger.h @@ -269,12 +269,6 @@ private: #endif } - static Type FullAdd(Type a, Type b, bool inCarry, bool* outCarry) { - Type c = a + b + (inCarry ? 1 : 0); - *outCarry = c < a; - return c; - } - static const size_t kBitCount = 3328; // 64bit * 54 > 10^1000 static const size_t kCapacity = kBitCount / sizeof(Type); static const size_t kTypeBit = sizeof(Type) * 8;