use bitsets
All checks were successful
Linux arm64 / Build (push) Successful in 2m13s

This commit is contained in:
2025-07-21 16:06:27 +02:00
parent 4095103843
commit 07ba9619ed
7 changed files with 120 additions and 83 deletions

View File

@@ -35,7 +35,7 @@ Bag::Bag(const std::shared_ptr<PiecesList>& piecesList) :
}
for (const auto& piece : this->selectedPieces) {
int pieceSize = this->piecesList->lookAtPiece(piece).getPositions().size();
int pieceSize = this->piecesList->lookAtPiece(piece).getPositions().getSize();
this->currentBags.at(pieceSize).push_back(piece);
}
}