mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
SonarCloud recomendations.
Code review follow-up: - Replace std::vector with boost::small_vector - Rename function merge to insert
This commit is contained in:
@@ -120,7 +120,7 @@ BattleHexArray BattleHexArray::generateNeighbouringTiles(BattleHex hex)
|
||||
return ret;
|
||||
}
|
||||
|
||||
void BattleHexArray::merge(const BattleHexArray & other) noexcept
|
||||
void BattleHexArray::insert(const BattleHexArray & other) noexcept
|
||||
{
|
||||
for(auto hex : other)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user