1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +02:00

Fix usage of std::bitset

This commit is contained in:
Ivan Savenko
2025-01-31 11:41:44 +00:00
parent 9754e72063
commit 3bbfee0e1c
2 changed files with 3 additions and 5 deletions

View File

@ -32,9 +32,7 @@ void BattleHexArray::insert(const BattleHexArray & other) noexcept
void BattleHexArray::clear() noexcept
{
for(const auto & hex : internalStorage)
presenceFlags[hex.toInt()] = false;
presenceFlags = {};
internalStorage.clear();
}