mirror of
https://github.com/wownero/wownero.git
synced 2026-11-10 18:37:35 +01:00
Merge pull request #1883
d0238313 use const references in catch blocks (moneromooo-monero)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user