mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-19 19:03:07 +02:00
Code Cleanup
- Constify some catches.
This commit is contained in:
parent
589d8fab5c
commit
7a6cdde571
14 changed files with 19 additions and 19 deletions
|
@ -747,7 +747,7 @@ int main (int argc, char** argv)
|
|||
t.is (n.next (1), "b", " 'bcde' : skip () -> 'b'");
|
||||
}
|
||||
|
||||
catch (std::string& e) {t.diag (e);}
|
||||
catch (const std::string& e) {t.diag (e);}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue