mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
C++11: N1984 auto
This commit is contained in:
parent
7bbc794d3a
commit
e8d04bdce6
24 changed files with 77 additions and 77 deletions
|
@ -336,7 +336,7 @@ int CmdCalendar::execute (std::string& output)
|
|||
|
||||
// If the executable was "cal" or equivalent, replace it with "task".
|
||||
std::string executable = context.cli._args[0].attribute ("raw");
|
||||
std::string::size_type cal = executable.find ("cal");
|
||||
auto cal = executable.find ("cal");
|
||||
if (cal != std::string::npos)
|
||||
executable = executable.substr (0, cal) + PACKAGE;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue