Code Cleanup
- Constify some catches.
This commit is contained in:
committed by
Paul Beckingham
parent
589d8fab5c
commit
7a6cdde571
@@ -175,7 +175,7 @@ int main (int argc, char** argv)
|
||||
t.is (json::decode (encoded), "one\\", "json::decode one\\\\\\\\ -> one\\\\");
|
||||
}
|
||||
|
||||
catch (std::string& e) {t.diag (e);}
|
||||
catch (const std::string& e) {t.diag (e);}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user