1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-03-03 10:15:45 +00:00

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

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>{};