mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
CBattleInfoCallbackTest: fix catch-value
This commit is contained in:
@@ -275,7 +275,7 @@ TEST_F(BattleFinishedTest, LastWarMachineLoose)
|
||||
|
||||
expectBattleWinner(0);
|
||||
}
|
||||
catch(std::exception e)
|
||||
catch(const std::exception & e)
|
||||
{
|
||||
logGlobal->error(e.what());
|
||||
}
|
||||
|
Reference in New Issue
Block a user