Code Cleanup
- Constify some catches.
This commit is contained in:
committed by
Paul Beckingham
parent
589d8fab5c
commit
7a6cdde571
@@ -111,7 +111,7 @@ int CmdShell::execute (std::string&)
|
||||
context.run ();
|
||||
}
|
||||
|
||||
catch (std::string& error)
|
||||
catch (const std::string& error)
|
||||
{
|
||||
std::cerr << error << "\n";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user