From 203a5322596d6e735ce05ac55df06a95ba035011 Mon Sep 17 00:00:00 2001 From: joncruz Date: Wed, 4 Feb 2009 07:33:57 +0000 Subject: [PATCH] Fixed dangerous base-class methods that were missing returns by converting them to abstract. --- src/snapper.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/snapper.h b/src/snapper.h index fc4b30ba0..49f277411 100644 --- a/src/snapper.h +++ b/src/snapper.h @@ -45,8 +45,8 @@ public: Snapper(SnapManager *sm, ::Geom::Coord const t); virtual ~Snapper() {} - virtual Geom::Coord getSnapperTolerance() const {}; //returns the tolerance of the snapper in screen pixels (i.e. independent of zoom) - virtual bool getSnapperAlwaysSnap() const {}; //if true, then the snapper will always snap, regardless of its tolerance + virtual Geom::Coord getSnapperTolerance() const = 0; //returns the tolerance of the snapper in screen pixels (i.e. independent of zoom) + virtual bool getSnapperAlwaysSnap() const = 0; //if true, then the snapper will always snap, regardless of its tolerance /** * \return true if this Snapper will snap at least one kind of point. -- 2.30.2