summaryrefslogtreecommitdiffstats
path: root/src/2geom/nearest-point.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-07-03 20:06:40 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-07-03 20:06:40 +0000
commite07de7ce18ff4cc440dc8947d61825122afea062 (patch)
tree9ffdd823777582d6b5b8d3de135a03da42041402 /src/2geom/nearest-point.cpp
parentPatch so Inkscape will compile on Solaris 10 from LP https://bugs.launchpad.n... (diff)
downloadinkscape-e07de7ce18ff4cc440dc8947d61825122afea062.tar.gz
inkscape-e07de7ce18ff4cc440dc8947d61825122afea062.zip
update 2geom (svn rev1433)
(bzr r6134)
Diffstat (limited to 'src/2geom/nearest-point.cpp')
-rw-r--r--src/2geom/nearest-point.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/2geom/nearest-point.cpp b/src/2geom/nearest-point.cpp
index 074de1cb3..59d55ba32 100644
--- a/src/2geom/nearest-point.cpp
+++ b/src/2geom/nearest-point.cpp
@@ -32,7 +32,7 @@
*/
-#include "nearest-point.h"
+#include <2geom/nearest-point.h>
namespace Geom
{
@@ -87,9 +87,9 @@ double nearest_point( Point const& p,
std::vector<double>
all_nearest_points( Point const& p,
- D2<SBasis> const& c,
- D2<SBasis> const& dc,
- double from, double to )
+ D2<SBasis> const& c,
+ D2<SBasis> const& /*dc*/,
+ double from, double to )
{
std::swap(from, to);
if ( from > to ) std::swap(from, to);