mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
CmdAppend: Code cleanup
This commit is contained in:
parent
e5646726c1
commit
e207cc9eab
1 changed files with 4 additions and 4 deletions
|
@ -78,7 +78,7 @@ int CmdAppend::execute (std::string&)
|
|||
Task before (task);
|
||||
|
||||
// Append to the specified task.
|
||||
std::string question = format (STRING_CMD_APPEND_CONFIRM,
|
||||
auto question = format (STRING_CMD_APPEND_CONFIRM,
|
||||
task.identifier (true),
|
||||
task.get ("description"));
|
||||
|
||||
|
@ -126,7 +126,7 @@ int CmdAppend::execute (std::string&)
|
|||
}
|
||||
|
||||
// Now list the project changes.
|
||||
for (auto& change : projectChanges)
|
||||
for (const auto& change : projectChanges)
|
||||
if (change.first != "")
|
||||
context.footnote (change.second);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue