Code Cleanup

- Clean duplicated and unused function.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
This commit is contained in:
Louis-Claude Canon 2012-04-29 11:00:37 +02:00 committed by Paul Beckingham
parent 0f2901c60c
commit ebdcccbf41
2 changed files with 0 additions and 11 deletions

View file

@ -277,16 +277,6 @@ time_t Task::get_date (const std::string& name) const
return 0;
}
////////////////////////////////////////////////////////////////////////////////
time_t Task::get_duration (const std::string& name) const
{
Task::const_iterator i = this->find (name);
if (i != this->end ())
return (time_t) strtoul (i->second.c_str (), NULL, 10);
return 0;
}
////////////////////////////////////////////////////////////////////////////////
void Task::set (const std::string& name, const std::string& value)
{