1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-03 00:46:55 +02:00

Fix clang-tidy warnings

This commit is contained in:
Ivan Savenko
2025-06-18 17:38:05 +03:00
parent 298ec472bf
commit ae93cbde91
11 changed files with 23 additions and 19 deletions

View File

@ -97,7 +97,7 @@ void StackQueue::update()
stackBoxes[boxIndex]->setUnit(nullptr);
}
int32_t StackQueue::getSiegeShooterIconID()
int32_t StackQueue::getSiegeShooterIconID() const
{
return owner.siegeController->getSiegedTown()->getFactionID().getNum();
}