aboutsummaryrefslogtreecommitdiffstats
path: root/src/math
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-09-15 13:44:42 +0000
committerlloyd <[email protected]>2010-09-15 13:44:42 +0000
commit180c5358cb31e9c003cada3705bb30cf01732878 (patch)
tree951038dfaf2c33bcee5e27c4b1d2980eb35494a3 /src/math
parenta9d0f37596e5413cae45f32740738c5c68abcce1 (diff)
Update all uses of MemoryRegion::append to use either push_back or operator+=
Diffstat (limited to 'src/math')
-rw-r--r--src/math/bigint/big_code.cpp7
1 files changed, 3 insertions, 4 deletions
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<const char*>(&buf[1]),
- length - 1,
- false));
-
+ binary += hex_decode(reinterpret_cast<const char*>(&buf[1]),
+ length - 1,
+ false);
}
else
binary = hex_decode(reinterpret_cast<const char*>(buf),