patch for catch (by Scott)

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6926 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: b5c1d77b003ea626ebbaa73eb21d29bde5004cee
Former-commit-id: a31f1f43364b08de9638477112da11319adca7ea
This commit is contained in:
torcs-ng 2020-04-19 23:22:42 +00:00
parent ffeb2061a1
commit 7ae1fa574e

View file

@ -497,7 +497,7 @@ void GfApplication::registerOption(const std::string& strShortName,
return; return;
} }
} }
catch (std::bad_exception) catch (const std::bad_exception&)
{ {
GfLogError("GfApplication::registerOption -%s",strShortName.c_str()); GfLogError("GfApplication::registerOption -%s",strShortName.c_str());
} }