From 846442af838e5881e7e8043c547d75a03003faa5 Mon Sep 17 00:00:00 2001 From: Robert Palmer Date: Thu, 18 Aug 2022 11:21:31 -0400 Subject: [PATCH] For some reason self.fPieces.resize() won't work but _fPieces.resize() will (#3669) --- macosx/PiecesView.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macosx/PiecesView.mm b/macosx/PiecesView.mm index 7d58972b6..d5d702f9a 100644 --- a/macosx/PiecesView.mm +++ b/macosx/PiecesView.mm @@ -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{};