From b95db4b4d6c41793e804a235a869cb5107d35b22 Mon Sep 17 00:00:00 2001 From: Diederik van Lierop Date: Fri, 11 Apr 2008 08:03:13 +0000 Subject: Refactor snapping mechanisms: in seltrans.cpp, a GSList was converted to a std::list in four different places. Now this is handled in only one place (bzr r5407) --- src/line-snapper.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/line-snapper.cpp') diff --git a/src/line-snapper.cpp b/src/line-snapper.cpp index 219bc7482..b9974c2c0 100644 --- a/src/line-snapper.cpp +++ b/src/line-snapper.cpp @@ -28,7 +28,7 @@ void Inkscape::LineSnapper::_doFreeSnap(SnappedConstraints &sc, NR::Point const &p, bool const &f, std::vector &points_to_snap, - std::list const &it, + std::vector const &it, std::vector *unselected_nodes) const { /* Get the lines that we will try to snap to */ @@ -59,7 +59,7 @@ void Inkscape::LineSnapper::_doConstrainedSnap(SnappedConstraints &sc, bool const &/*f*/, std::vector &/*points_to_snap*/, ConstraintLine const &c, - std::list const &/*it*/) const + std::vector const &/*it*/) const { /* Get the lines that we will try to snap to */ -- cgit v1.2.3