Cleanup CMake file.

This commit is contained in:
2020-07-17 13:12:21 +02:00
parent 5032377554
commit 367ed7fcbb
14 changed files with 118 additions and 93 deletions

View File

@@ -29,7 +29,8 @@ public:
}
};
void TurnOrdering::OrderChoices(std::vector<std::shared_ptr<BaseTurnChoice>>& vec, ArbUt::Random& rand) {
void TurnOrdering::OrderChoices(std::vector<std::shared_ptr<BaseTurnChoice>>& vec,
[[maybe_unused]] ArbUt::Random& rand) {
for (auto item : vec) {
if (item->GetKind() == TurnChoiceKind::Attack) {
auto attackChoice = static_cast<AttackTurnChoice*>(item.get());