From 0a78ad638f3bbcd46631cb2c741fca031356b725 Mon Sep 17 00:00:00 2001 From: Diederik van Lierop Date: Sat, 8 Mar 2008 11:32:18 +0000 Subject: Node tool: snap to paths and their nodes, incl. to the path currently being edited (bzr r4989) --- src/sp-item-notify-moveto.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sp-item-notify-moveto.cpp') diff --git a/src/sp-item-notify-moveto.cpp b/src/sp-item-notify-moveto.cpp index c7b852af5..391766fb6 100644 --- a/src/sp-item-notify-moveto.cpp +++ b/src/sp-item-notify-moveto.cpp @@ -24,7 +24,7 @@ void sp_item_notify_moveto(SPItem &item, SPGuide const &mv_g, int const snappoin double const dir_lensq(dot(dir, dir)); g_return_if_fail( dir_lensq != 0 ); - vector snappoints; + std::vector snappoints; sp_item_snappoints(&item, true, SnapPointsIter(snappoints)); g_return_if_fail( snappoint_ix < int(snappoints.size()) ); -- cgit v1.2.3