Column: Reduced ::modify to a minimal implementation

This commit is contained in:
Paul Beckingham 2016-02-01 00:33:22 -05:00
parent 264fd264e9
commit c167fa665e
2 changed files with 1 additions and 8 deletions

View file

@ -266,12 +266,6 @@ bool Column::validate (std::string& input)
return input.length () ? true : false;
}
////////////////////////////////////////////////////////////////////////////////
void Column::modify (Task& task, const std::string& value)
{
task.set (_name, value);
}
////////////////////////////////////////////////////////////////////////////////
// All integer values are right-justified.
void Column::renderInteger (

View file

@ -63,8 +63,7 @@ public:
virtual void renderHeader (std::vector <std::string>&, int, Color&);
virtual void render (std::vector <std::string>&, const std::string&, int, Color&) {};
virtual void render (std::vector <std::string>&, Task&, int, Color&) {};
virtual void modify (Task&, const std::string&);
virtual void modify (Task&, const std::string&) {};
protected:
void renderInteger (std::vector <std::string>&, int, Color&, int);