From 9b0953a9550a662a8f7dc50e6a11f2fc526423c5 Mon Sep 17 00:00:00 2001 From: Jiri Drbalek Date: Fri, 8 Aug 2014 05:09:01 +0000 Subject: [PATCH] remove needless virtual inheritance --- include/mapnik/markers_placements/point.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/mapnik/markers_placements/point.hpp b/include/mapnik/markers_placements/point.hpp index 4329761c2..bbe97a103 100644 --- a/include/mapnik/markers_placements/point.hpp +++ b/include/mapnik/markers_placements/point.hpp @@ -55,13 +55,12 @@ public: { rewind(); } - virtual ~markers_point_placement() {} /** Start again at first marker. * \note Returns the same list of markers only works when they were NOT added * to the detector. */ - virtual void rewind() + void rewind() { locator_.rewind(0); done_ = false; @@ -75,7 +74,7 @@ public: * \param ignore_placement Whether to add selected position to detector * \return True if a place is found, false if none is found. */ - virtual bool get_point(double &x, double &y, double &angle, bool ignore_placement) + bool get_point(double &x, double &y, double &angle, bool ignore_placement) { if (done_) {