mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-07 21:07:20 +02:00
libhsared: migrating from local to libshared
This commit is contained in:
parent
456925a02b
commit
355620c640
88 changed files with 185 additions and 510 deletions
10
src/CLI2.cpp
10
src/CLI2.cpp
|
@ -32,8 +32,8 @@
|
|||
#include <Context.h>
|
||||
#include <Lexer.h>
|
||||
#include <Color.h>
|
||||
#include <text.h>
|
||||
#include <util.h>
|
||||
#include <shared.h>
|
||||
#include <format.h>
|
||||
#include <i18n.h>
|
||||
|
||||
extern Context context;
|
||||
|
@ -1480,8 +1480,7 @@ void CLI2::findIDs ()
|
|||
else if (a._lextype == Lexer::Type::set)
|
||||
{
|
||||
// Split the ID list into elements.
|
||||
std::vector <std::string> elements;
|
||||
split (elements, a.attribute ("raw"), ',');
|
||||
auto elements = split (a.attribute ("raw"), ',');
|
||||
|
||||
for (auto& element : elements)
|
||||
{
|
||||
|
@ -1536,8 +1535,7 @@ void CLI2::findIDs ()
|
|||
a.tag ("FILTER");
|
||||
|
||||
// Split the ID list into elements.
|
||||
std::vector <std::string> elements;
|
||||
split (elements, raw, ',');
|
||||
auto elements = split (raw, ',');
|
||||
|
||||
for (const auto& element : elements)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue