catch const exceptions

This commit is contained in:
moneromooo-monero 2017-12-11 23:04:57 +00:00
parent 45a1c4c088
commit a4240d9ffc
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
4 changed files with 7 additions and 7 deletions

View file

@ -161,7 +161,7 @@ DISABLE_GCC_WARNING(maybe-uninitialized)
val = boost::lexical_cast<XType>(str_id);
return true;
}
catch(std::exception& /*e*/)
catch(const std::exception& /*e*/)
{
//const char* pmsg = e.what();
return false;