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.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/line-snapper.h') diff --git a/src/line-snapper.h b/src/line-snapper.h index c1c7da39a..39df82057 100644 --- a/src/line-snapper.h +++ b/src/line-snapper.h @@ -32,7 +32,7 @@ private: NR::Point const &p, bool const &first_point, std::vector &points_to_snap, - std::list const &it, + std::vector const &it, std::vector *unselected_nodes) const; void _doConstrainedSnap(SnappedConstraints &sc, @@ -41,7 +41,7 @@ private: bool const &first_point, std::vector &points_to_snap, ConstraintLine const &c, - std::list const &it) const; + std::vector const &it) const; /** * \param p Point that we are trying to snap. -- cgit v1.2.3