diff options
| author | Diederik van Lierop <mail@diedenrezi.nl> | 2008-04-11 08:03:13 +0000 |
|---|---|---|
| committer | dvlierop2 <dvlierop2@users.sourceforge.net> | 2008-04-11 08:03:13 +0000 |
| commit | b95db4b4d6c41793e804a235a869cb5107d35b22 (patch) | |
| tree | 82028b14024cfbb8a33353017ef6fcd90793ff47 /src/object-snapper.h | |
| parent | Cmake: Correct INKSCAPE_LIBDIR value in config.h.cmake, to correct compiling ... (diff) | |
| download | inkscape-b95db4b4d6c41793e804a235a869cb5107d35b22.tar.gz inkscape-b95db4b4d6c41793e804a235a869cb5107d35b22.zip | |
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)
Diffstat (limited to 'src/object-snapper.h')
| -rw-r--r-- | src/object-snapper.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/object-snapper.h b/src/object-snapper.h index 924c94e07..29f595424 100644 --- a/src/object-snapper.h +++ b/src/object-snapper.h @@ -111,7 +111,7 @@ private: NR::Point const &p, bool const &first_point, std::vector<NR::Point> &points_to_snap, - std::list<SPItem const *> const &it, + std::vector<SPItem const *> const &it, std::vector<NR::Point> *unselected_nodes) const; void _doConstrainedSnap(SnappedConstraints &sc, @@ -120,10 +120,10 @@ private: bool const &first_point, std::vector<NR::Point> &points_to_snap, ConstraintLine const &c, - std::list<SPItem const *> const &it) const; + std::vector<SPItem const *> const &it) const; void _findCandidates(SPObject* r, - std::list<SPItem const *> const &it, + std::vector<SPItem const *> const &it, bool const &first_point, std::vector<NR::Point> &points_to_snap, DimensionToSnap snap_dim) const; |
