From a03fec4209c6023ed097c00d0c7b491e382e3b8e Mon Sep 17 00:00:00 2001 From: "Jon A. Cruz" Date: Wed, 4 Feb 2009 07:33:57 +0000 Subject: Fixed dangerous base-class methods that were missing returns by converting them to abstract. (bzr r7226) --- 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. -- cgit v1.2.3