mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +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
|
@ -58,7 +58,7 @@ int main (int argc, char** argv)
|
|||
t.is (format ("pre {3}{1}{2} post", "one", "two", "three"), "pre threeonetwo post", "format 3b");
|
||||
}
|
||||
|
||||
catch (std::string& error)
|
||||
catch (const std::string& error)
|
||||
{
|
||||
t.diag (error);
|
||||
return -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue