Silent build warning, exception as ref. instead (#3940)

This commit is contained in:
David CARLIER 2019-05-25 17:36:54 +01:00 committed by Benau
parent 34e680bfbd
commit a4f962ce57

View File

@ -194,7 +194,7 @@ void KartProperties::load(const std::string &filename, const std::string &node)
{
copyFrom(&stk_config->getKartProperties(kart_type));
}
catch (std::out_of_range)
catch (std::out_of_range &)
{
copyFrom(&stk_config->getDefaultKartProperties());
} // try .. catch