From 6cee33b6fdf90dbf85de052075a654181b223cbe Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Mon, 10 Feb 2014 17:27:38 +0900 Subject: [PATCH] AP_Curve: remove virtual from method declarations --- libraries/AP_Curve/AP_Curve.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libraries/AP_Curve/AP_Curve.h b/libraries/AP_Curve/AP_Curve.h index b95fddbb45..f5c6812614 100644 --- a/libraries/AP_Curve/AP_Curve.h +++ b/libraries/AP_Curve/AP_Curve.h @@ -20,16 +20,16 @@ public: AP_Curve(); // clear - removes all points from the curve - virtual void clear(); + void clear(); // add_point - adds a point to the curve. returns TRUE if successfully added - virtual bool add_point( T x, T y ); + bool add_point( T x, T y ); // get_y - returns the point on the curve at the given pwm_value (i.e. the new modified pwm_value) - virtual T get_y( T x ); + T get_y( T x ); // displays the contents of the curve (for debugging) - virtual void dump_curve(AP_HAL::BetterStream*); + void dump_curve(AP_HAL::BetterStream*); protected: uint8_t _num_points; // number of points in the cruve