1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

CBattleInfoCallbackTest: fix catch-value

This commit is contained in:
Konstantin P 2023-04-25 14:08:55 +03:00
parent 54e4db3819
commit d14c951005

View File

@ -275,7 +275,7 @@ TEST_F(BattleFinishedTest, LastWarMachineLoose)
expectBattleWinner(0);
}
catch(std::exception e)
catch(const std::exception & e)
{
logGlobal->error(e.what());
}