fix warning

This commit is contained in:
Günter Obiltschnig 2021-06-16 14:01:01 +02:00
parent 1dcc05895e
commit 75ce1477f4

View File

@ -45,7 +45,7 @@ int main(int argc, char** argv)
else
{
std::cout << filePath.toString() << " doesn't exist!" << std::endl;
return 1;
return 1;
}
}
@ -109,7 +109,7 @@ int main(int argc, char** argv)
std::cout << "-----------------------------------" << std::endl;
std::cout << std::endl;
}
catch(Poco::JSON::JSONException jsone)
catch(Poco::JSON::JSONException& jsone)
{
std::cout << jsone.message() << std::endl;
}