From 180c5358cb31e9c003cada3705bb30cf01732878 Mon Sep 17 00:00:00 2001 From: lloyd Date: Wed, 15 Sep 2010 13:44:42 +0000 Subject: Update all uses of MemoryRegion::append to use either push_back or operator+= --- src/math/bigint/big_code.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/math/bigint') diff --git a/src/math/bigint/big_code.cpp b/src/math/bigint/big_code.cpp index 1e35edcc9..25c27bd33 100644 --- a/src/math/bigint/big_code.cpp +++ b/src/math/bigint/big_code.cpp @@ -112,10 +112,9 @@ BigInt BigInt::decode(const byte buf[], u32bit length, Base base) const char buf0_with_leading_0[2] = { '0', buf[0] }; binary = hex_decode(buf0_with_leading_0, 2); - binary.append(hex_decode(reinterpret_cast(&buf[1]), - length - 1, - false)); - + binary += hex_decode(reinterpret_cast(&buf[1]), + length - 1, + false); } else binary = hex_decode(reinterpret_cast(buf), -- cgit v1.2.3