mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
CmdUnique: Changed from std::to_string to ::format
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52015
This commit is contained in:
parent
75aa4008e1
commit
f42de556fa
1 changed files with 2 additions and 1 deletions
|
@ -32,6 +32,7 @@
|
|||
#include <Context.h>
|
||||
#include <Filter.h>
|
||||
#include <main.h>
|
||||
#include <text.h>
|
||||
#include <i18n.h>
|
||||
#include <CmdUnique.h>
|
||||
|
||||
|
@ -83,7 +84,7 @@ int CmdUnique::execute (std::string& output)
|
|||
else if (canonical == "id" &&
|
||||
task.getStatus () != Task::deleted &&
|
||||
task.getStatus () != Task::completed)
|
||||
values.insert (std::to_string (task.id));
|
||||
values.insert (format (task.id));
|
||||
|
||||
// Generate list of unique values.
|
||||
for (auto& value : values)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue