mirror of
https://github.com/monero-project/monero.git
synced 2025-06-21 12:34:13 -04:00
Merge pull request #1883
d0238313
use const references in catch blocks (moneromooo-monero)
This commit is contained in:
commit
f33a696ec7
5 changed files with 13 additions and 13 deletions
|
@ -168,7 +168,7 @@ namespace command_line
|
|||
{
|
||||
return parser();
|
||||
}
|
||||
catch (std::exception& e)
|
||||
catch (const std::exception& e)
|
||||
{
|
||||
std::cerr << "Failed to parse arguments: " << e.what() << std::endl;
|
||||
std::cerr << desc << std::endl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue