Switch to scoped_array instead of inappropriate scoped_ptr.

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1225 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
jessicag.feedback 2013-10-28 23:39:43 +00:00
parent 8586f6e288
commit 6689f24d1a

View file

@ -120,7 +120,7 @@ static inline uint16_t Swap(uint16_t value) {
string UTF16ToUTF8(const vector<uint16_t> &in, bool swap) {
const UTF16 *source_ptr = &in[0];
scoped_ptr<uint16_t> source_buffer;
scoped_array<uint16_t> source_buffer;
// If we're to swap, we need to make a local copy and swap each byte pair
if (swap) {