diff options
Diffstat (limited to 'Project/ControlElement.h')
-rw-r--r-- | Project/ControlElement.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Project/ControlElement.h b/Project/ControlElement.h index 3744c6f..cce739a 100644 --- a/Project/ControlElement.h +++ b/Project/ControlElement.h @@ -65,11 +65,7 @@ class ControlElement : public Element virtual bool IsSolved() const { return m_solved; } virtual void SetSolved(bool solved = true) { m_solved = solved; } - virtual bool Solve(double input) - { - m_output = input * 2.0; - return true; - } + virtual bool Solve(double input); virtual double GetOutput() const { return m_output; } virtual void SetOutput(double output) { m_output = output; } protected: |