Code Cleanup
- Constify some catches.
This commit is contained in:
committed by
Paul Beckingham
parent
589d8fab5c
commit
7a6cdde571
@@ -69,7 +69,7 @@ int main (int argc, char** argv)
|
||||
// TODO dom.set rc.name
|
||||
}
|
||||
|
||||
catch (std::string& error)
|
||||
catch (const std::string& error)
|
||||
{
|
||||
t.diag (error);
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user