Task: Dead code removal

This commit is contained in:
Paul Beckingham 2015-07-17 14:31:25 -04:00
parent 59b98cf302
commit 30911968cc
2 changed files with 0 additions and 11 deletions

View file

@ -1184,16 +1184,6 @@ void Task::removeTag (const std::string& tag)
}
#ifdef PRODUCT_TASKWARRIOR
////////////////////////////////////////////////////////////////////////////////
// A UDA is an attribute that has supporting config entries such as a data type:
// 'uda.<name>.type'
void Task::getUDAs (std::vector <std::string>& names) const
{
for (auto& it : *this)
if (context.config.get ("uda." + it.first + ".type") != "")
names.push_back (it.first);
}
////////////////////////////////////////////////////////////////////////////////
// A UDA Orphan is an attribute that is not represented in context.columns.
void Task::getUDAOrphans (std::vector <std::string>& names) const

View file

@ -139,7 +139,6 @@ public:
void getDependencies (std::vector <int>&) const;
void getDependencies (std::vector <std::string>&) const;
void getUDAs (std::vector <std::string>&) const;
void getUDAOrphans (std::vector <std::string>&) const;
void substitute (const std::string&, const std::string&, const std::string&);