From 06508602410394bacfe1e8f23f75c8a2d41ea5dc Mon Sep 17 00:00:00 2001 From: Federico Guerra Date: Wed, 16 Aug 2017 16:47:41 -0700 Subject: [PATCH] mobility: Allow WaypointMobilityModel to be subclassed --- src/mobility/model/waypoint-mobility-model.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mobility/model/waypoint-mobility-model.h b/src/mobility/model/waypoint-mobility-model.h index a16f4cd81..6f5431815 100644 --- a/src/mobility/model/waypoint-mobility-model.h +++ b/src/mobility/model/waypoint-mobility-model.h @@ -134,7 +134,7 @@ private: /** * Update the underlying state corresponding to the stored waypoints */ - void Update (void) const; + virtual void Update (void) const; /** * \brief The dispose method. * @@ -157,6 +157,7 @@ private: */ virtual Vector DoGetVelocity (void) const; +protected: /** * \brief This variable is set to true if there are no waypoints in the std::deque */