Merge pull request #7797 from stenzek/chunkfile
ChunkFile: Don't access element zero of empty container
This commit is contained in:
commit
3a36f738cf
|
@ -262,6 +262,7 @@ private:
|
|||
Do(size);
|
||||
container.resize(size);
|
||||
|
||||
if (size > 0)
|
||||
DoArray(&container[0], size);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue