mirror of
https://github.com/monero-project/monero.git
synced 2025-05-06 13:35:04 -04:00
catch const exceptions
This commit is contained in:
parent
45a1c4c088
commit
a4240d9ffc
4 changed files with 7 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue