change Position and Polynomio structs (less memory usage)
Some checks failed
Linux arm64 / Build (push) Failing after 2m9s
Some checks failed
Linux arm64 / Build (push) Failing after 2m9s
This commit is contained in:
@@ -115,7 +115,7 @@ bool PiecesFiles::loadPieces(int polyominoSize, std::vector<Piece>& pieces, std:
|
||||
buffer >> positionByte;
|
||||
int x = ((unsigned char) positionByte & xMask) >> 4;
|
||||
int y = positionByte & yMask;
|
||||
piecePositions.insert(Position{x, y});
|
||||
piecePositions.insert(Position(x, y));
|
||||
}
|
||||
|
||||
// create piece
|
||||
|
||||
Reference in New Issue
Block a user