mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-12-23 01:25:34 +00:00
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:
parent
8586f6e288
commit
6689f24d1a
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue