mirror of
https://github.com/transmission/transmission.git
synced 2025-12-20 02:18:42 +00:00
For some reason self.fPieces.resize() won't work but _fPieces.resize() will (#3669)
This commit is contained in:
@@ -99,7 +99,7 @@ enum
|
|||||||
BOOL const first = std::empty(self.fPieces);
|
BOOL const first = std::empty(self.fPieces);
|
||||||
if (first)
|
if (first)
|
||||||
{
|
{
|
||||||
self.fPieces.resize(self.fNumPieces);
|
_fPieces.resize(self.fNumPieces);
|
||||||
}
|
}
|
||||||
|
|
||||||
auto pieces = std::vector<int8_t>{};
|
auto pieces = std::vector<int8_t>{};
|
||||||
|
|||||||
Reference in New Issue
Block a user