mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Fix usage of std::bitset
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user