summaryrefslogtreecommitdiffstats
path: root/src/object-snapper.h
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2007-09-15 08:19:07 +0000
committerdvlierop2 <dvlierop2@users.sourceforge.net>2007-09-15 08:19:07 +0000
commit18bccf196727b9f6726f487e4d021a8b0801a9b7 (patch)
tree49afb3526a085d14b4d83a64501cabb677f755d0 /src/object-snapper.h
parentr16583@tres: ted | 2007-09-14 09:15:49 -0700 (diff)
downloadinkscape-18bccf196727b9f6726f487e4d021a8b0801a9b7.tar.gz
inkscape-18bccf196727b9f6726f487e4d021a8b0801a9b7.zip
avoid code duplication, i.e. use sp_item_snappoints in the object-snapper.cpp
(bzr r3752)
Diffstat (limited to 'src/object-snapper.h')
-rw-r--r--src/object-snapper.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/object-snapper.h b/src/object-snapper.h
index fa0cfa14c..e473e3fe9 100644
--- a/src/object-snapper.h
+++ b/src/object-snapper.h
@@ -85,10 +85,9 @@ public:
private:
//store some lists of candidates, points and paths, so we don't have to rebuild them for each point we want to snap
- std::list<SPItem*> *_candidates;
- std::list<NR::Point> *_points_to_snap_to;
- std::list<Path*> *_paths_to_snap_to;
-
+ std::vector<SPItem*> *_candidates;
+ std::vector<NR::Point> *_points_to_snap_to;
+ std::vector<Path*> *_paths_to_snap_to;
SnappedPoint _doFreeSnap(Inkscape::Snapper::PointType const &t,
NR::Point const &p,
bool const &first_point,