summaryrefslogtreecommitdiffstats
path: root/src/libavoid/makepath.cpp
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-11-20 22:55:55 +0000
committerCampbell Barton <ideasman42@gmail.com>2012-11-20 22:55:55 +0000
commitd463240d8fd961d45b47ba96e0d93c37e1719da7 (patch)
tree25be35855525cba941ff28f0d1ea7684dc1a258c /src/libavoid/makepath.cpp
parentFix for #970355, radial gradient using object bounding box. (diff)
downloadinkscape-d463240d8fd961d45b47ba96e0d93c37e1719da7.tar.gz
inkscape-d463240d8fd961d45b47ba96e0d93c37e1719da7.zip
code cleanup: quiet warnings with gcc.
(bzr r11888)
Diffstat (limited to 'src/libavoid/makepath.cpp')
-rw-r--r--src/libavoid/makepath.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libavoid/makepath.cpp b/src/libavoid/makepath.cpp
index 4e15dbca9..774e0d7f5 100644
--- a/src/libavoid/makepath.cpp
+++ b/src/libavoid/makepath.cpp
@@ -82,7 +82,7 @@ class ANode
// it back into a heap) when getting the next node to examine. This way we
// get better complexity -- logarithmic pushs and pops to the heap.
//
-bool operator<(const ANode &a, const ANode &b)
+static bool operator<(const ANode &a, const ANode &b)
{
if (a.f != b.f)
{