diff options
Diffstat (limited to 'Source/Core/Common/ChunkFile.h')
| -rw-r--r-- | Source/Core/Common/ChunkFile.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/Common/ChunkFile.h b/Source/Core/Common/ChunkFile.h index b4383d2570..aef3a2ec4a 100644 --- a/Source/Core/Common/ChunkFile.h +++ b/Source/Core/Common/ChunkFile.h @@ -262,7 +262,8 @@ private: Do(size); container.resize(size); - DoArray(&container[0], size); + if (size > 0) + DoArray(&container[0], size); } template <typename T> |
