Task: Improved method signature

This commit is contained in:
Paul Beckingham 2016-12-31 15:44:13 -05:00
parent c31e0b106d
commit cfc3e098c1
6 changed files with 9 additions and 24 deletions

View file

@ -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"), ',');
}
////////////////////////////////////////////////////////////////////////////////