Silent build warning, exception as ref. instead (#3940)
This commit is contained in:
parent
34e680bfbd
commit
a4f962ce57
@ -194,7 +194,7 @@ void KartProperties::load(const std::string &filename, const std::string &node)
|
|||||||
{
|
{
|
||||||
copyFrom(&stk_config->getKartProperties(kart_type));
|
copyFrom(&stk_config->getKartProperties(kart_type));
|
||||||
}
|
}
|
||||||
catch (std::out_of_range)
|
catch (std::out_of_range &)
|
||||||
{
|
{
|
||||||
copyFrom(&stk_config->getDefaultKartProperties());
|
copyFrom(&stk_config->getDefaultKartProperties());
|
||||||
} // try .. catch
|
} // try .. catch
|
||||||
|
Loading…
Reference in New Issue
Block a user