mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Task: Improved method signature
This commit is contained in:
parent
c31e0b106d
commit
cfc3e098c1
6 changed files with 9 additions and 24 deletions
|
@ -1313,9 +1313,9 @@ void Task::addTags (const std::vector <std::string>& tags)
|
|||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
void Task::getTags (std::vector<std::string>& tags) const
|
||||
std::vector <std::string> Task::getTags () const
|
||||
{
|
||||
tags = split (get ("tags"), ',');
|
||||
return split (get ("tags"), ',');
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue