diff options
author | lloyd <[email protected]> | 2007-11-14 18:08:10 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2007-11-14 18:08:10 +0000 |
commit | 167f765128c4aced6c6a9dcf73f16b933910a798 (patch) | |
tree | 12f39b1973090d04d77b3303e5b112e3d78eb748 /src/ber_dec.cpp | |
parent | 2de4693562db51f6f0e0b2f3a95e3118c40db05d (diff) |
Rename MemoryRegion::append to push_back
Change all callers in the library and self-test code.
Diffstat (limited to 'src/ber_dec.cpp')
-rw-r--r-- | src/ber_dec.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ber_dec.cpp b/src/ber_dec.cpp index 2537a917b..afe678f84 100644 --- a/src/ber_dec.cpp +++ b/src/ber_dec.cpp @@ -104,7 +104,7 @@ u32bit find_eoc(DataSource* ber) const u32bit got = ber->peek(buffer, buffer.size(), data.size()); if(got == 0) break; - data.append(buffer, got); + data.push_back(buffer, got); } DataSource_Memory source(data); @@ -169,7 +169,7 @@ BER_Decoder& BER_Decoder::raw_bytes(MemoryRegion<byte>& out) out.destroy(); byte buf; while(source->read_byte(buf)) - out.append(buf); + out.push_back(buf); return (*this); } |