fix warning

This commit is contained in:
Günter Obiltschnig
2021-06-16 14:11:48 +02:00
parent 75ce1477f4
commit 034ed3332d

View File

@@ -51,7 +51,7 @@ void JSONConfigurationTest::testLoad()
{
config.load(iss);
}
catch(JSONException jsone)
catch(JSONException& jsone)
{
std::cout << jsone.message() << std::endl;
assertTrue (false);
@@ -77,7 +77,7 @@ void JSONConfigurationTest::testLoad()
config.getString("propertyUnknown");
assertTrue (true);
}
catch(NotFoundException nfe)
catch(NotFoundException& nfe)
{
}
}