mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Cleanup: Don't use string literals when character literals are needed
This commit is contained in:
parent
99a7cfceac
commit
35e518cbc2
58 changed files with 372 additions and 374 deletions
|
@ -119,9 +119,9 @@ int CmdColumns::execute (std::string& output)
|
|||
|
||||
output = optionalBlankLine ()
|
||||
+ formats.render ()
|
||||
+ "\n"
|
||||
+ '\n'
|
||||
+ STRING_CMD_COLUMNS_NOTE
|
||||
+ "\n";
|
||||
+ '\n';
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@ -154,7 +154,7 @@ int CmdCompletionColumns::execute (std::string& output)
|
|||
|
||||
// Render only the column names.
|
||||
for (auto& name : names)
|
||||
output += name + "\n";
|
||||
output += name + '\n';
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue