Code

2nd attempt at fixing the crash introduced in rev. #9692. This should nail it!
[inkscape.git] / src / snap-candidate.h
index a0fc3290cde5892d37c9e97188b728f3e2b62222..5c283440305ce7570d7744457f43b5972886dfbb 100644 (file)
@@ -42,11 +42,11 @@ public:
         _target_bbox = Geom::OptRect();
     }
 
-    SnapCandidatePoint(Geom::Point const &point, Inkscape::SnapSourceType const source, long const source_num = 0)
+    SnapCandidatePoint(Geom::Point const &point, Inkscape::SnapSourceType const source)
         : _point(point),
         _source_type(source),
         _target_type(Inkscape::SNAPTARGET_UNDEFINED),
-        _source_num(source_num)
+        _source_num(0)
     {
         _target_bbox = Geom::OptRect();
     }