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.ok (string_view.lines () > 4, "View::lines > 4");
|
||||
}
|
||||
|
||||
catch (std::string& e)
|
||||
catch (const std::string& e)
|
||||
{
|
||||
t.fail ("Exception thrown.");
|
||||
t.diag (e);
|
||||
|
||||
Reference in New Issue
Block a user