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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user