summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2009-02-04 07:33:57 +0000
committerjoncruz <joncruz@users.sourceforge.net>2009-02-04 07:33:57 +0000
commita03fec4209c6023ed097c00d0c7b491e382e3b8e (patch)
treeab0788aa64fcd3d50b3bc323d664e89c99e240d1 /src
parentWarning cleanup. (diff)
downloadinkscape-a03fec4209c6023ed097c00d0c7b491e382e3b8e.tar.gz
inkscape-a03fec4209c6023ed097c00d0c7b491e382e3b8e.zip
Fixed dangerous base-class methods that were missing returns by converting them to abstract.
(bzr r7226)
Diffstat (limited to 'src')
-rw-r--r--src/snapper.h4
1 files 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.