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
|
@ -126,7 +126,7 @@ int main (int argc, char** argv)
|
|||
// TODO gc
|
||||
}
|
||||
|
||||
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