For some reason self.fPieces.resize() won't work but _fPieces.resize() will (#3669)

This commit is contained in:
Robert Palmer 2022-08-18 11:21:31 -04:00 committed by GitHub
parent 76a7994eef
commit 846442af83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ enum
BOOL const first = std::empty(self.fPieces);
if (first)
{
self.fPieces.resize(self.fNumPieces);
_fPieces.resize(self.fNumPieces);
}
auto pieces = std::vector<int8_t>{};