summaryrefslogtreecommitdiffstats
path: root/src/2geom/path.cpp
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2015-07-15 18:18:11 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2015-07-15 18:18:11 +0000
commit8d9336326e52ee6a181c658d57c7c3a3b776fcf8 (patch)
tree85d94032dfad14f71790fd276795781d4561456e /src/2geom/path.cpp
parentAdd a script that simplifies syncing 2Geom changes (diff)
downloadinkscape-8d9336326e52ee6a181c658d57c7c3a3b776fcf8.tar.gz
inkscape-8d9336326e52ee6a181c658d57c7c3a3b776fcf8.zip
Sync 2Geom to revision 2420.
Should fix build failure on llvm-gcc 4.2 and an issue with powerstroke. (bzr r14247)
Diffstat (limited to 'src/2geom/path.cpp')
-rw-r--r--src/2geom/path.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/2geom/path.cpp b/src/2geom/path.cpp
index 836e65013..871441751 100644
--- a/src/2geom/path.cpp
+++ b/src/2geom/path.cpp
@@ -441,7 +441,6 @@ std::vector<PathTime> Path::roots(Coord v, Dim2 d) const
// The class below implements sweepline optimization for curve intersection in paths.
// Instead of O(N^2), this takes O(N + X), where X is the number of overlaps
// between the bounding boxes of curves.
-namespace {
struct CurveSweepTraits {
struct Bound {
@@ -512,8 +511,6 @@ private:
Coord _precision;
};
-} // end anonymous namespace
-
std::vector<PathIntersection> Path::intersect(Path const &other, Coord precision) const
{
std::vector<PathIntersection> result;