mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-10 06:29:00 +01:00
Merge pull request #7797 from stenzek/chunkfile
ChunkFile: Don't access element zero of empty container
This commit is contained in:
commit
3a36f738cf
@ -262,7 +262,8 @@ private:
|
||||
Do(size);
|
||||
container.resize(size);
|
||||
|
||||
DoArray(&container[0], size);
|
||||
if (size > 0)
|
||||
DoArray(&container[0], size);
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
|
Loading…
x
Reference in New Issue
Block a user