1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-12-01 23:12:49 +02:00

sonar cloud fixes

This commit is contained in:
Laserlicht
2024-08-15 23:09:04 +02:00
parent ba77107e71
commit 00692888df
10 changed files with 31 additions and 31 deletions

View File

@@ -127,7 +127,7 @@ void CPicture::setPlayerColor(PlayerColor player)
bg->playerColored(player);
}
void CPicture::addRClickCallback(std::function<void()> callback)
void CPicture::addRClickCallback(const std::function<void()> & callback)
{
rCallback = callback;
}