Fix delete / delete[] mismatch in glTFAsset

pull/1432/head
Turo Lamminen 2017-09-12 19:00:44 +03:00
parent fff800f9ab
commit 5ecab20bd0
1 changed files with 1 additions and 1 deletions

View File

@ -341,7 +341,7 @@ inline bool Buffer::LoadFromStream(IOStream& stream, size_t length, size_t baseO
stream.Seek(baseOffset, aiOrigin_SET);
}
mData.reset(new uint8_t[byteLength]);
mData.reset(new uint8_t[byteLength], std::default_delete<uint8_t[]>());
if (stream.Read(mData.get(), byteLength, 1) != 1) {
return false;