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/snapper.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/snapper.h') diff --git a/src/snapper.h b/src/snapper.h index 508ba7b9a..cad4200ab 100644 --- a/src/snapper.h +++ b/src/snapper.h @@ -75,7 +75,7 @@ public: 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; class ConstraintLine @@ -117,7 +117,7 @@ public: bool const &first_point, std::vector &points_to_snap, ConstraintLine const &c, - std::list const &it) const; + std::vector const &it) const; protected: SPNamedView const *_named_view; @@ -144,7 +144,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 = 0; /** @@ -163,7 +163,7 @@ private: bool const &first_point, std::vector &points_to_snap, ConstraintLine const &c, - std::list const &it) const = 0; + std::vector const &it) const = 0; }; } -- cgit v1.2.3