diff options
| author | Patrick Storz <eduard.braun2@gmx.de> | 2019-03-24 20:22:10 +0000 |
|---|---|---|
| committer | Patrick Storz <eduard.braun2@gmx.de> | 2019-03-24 20:28:41 +0000 |
| commit | 4ebf9a1c96d7484529f3ed38fa1b4220e484a2c5 (patch) | |
| tree | 14ae3b1953d61681d8428f25f6a48b54ae5f2003 /src/2geom/curve.cpp | |
| parent | About dialog: Fix icon file location (diff) | |
| download | inkscape-4ebf9a1c96d7484529f3ed38fa1b4220e484a2c5.tar.gz inkscape-4ebf9a1c96d7484529f3ed38fa1b4220e484a2c5.zip | |
Update 2geom
Now at d9e4cc11f4df4e71e96617699997c989cc9248a4
This is the last version that does not depend on an external copy of
double-conversion yet.
Diffstat (limited to 'src/2geom/curve.cpp')
| -rw-r--r-- | src/2geom/curve.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/2geom/curve.cpp b/src/2geom/curve.cpp index 387a9180b..8ad0178cf 100644 --- a/src/2geom/curve.cpp +++ b/src/2geom/curve.cpp @@ -108,7 +108,7 @@ std::vector<CurveIntersection> Curve::intersectSelf(Coord eps) const // Monotonic segments cannot have self-intersections. // Thus, we can split the curve at roots and intersect the portions. std::vector<Coord> splits; - std::auto_ptr<Curve> deriv(derivative()); + std::unique_ptr<Curve> deriv(derivative()); splits = deriv->roots(0, X); if (splits.empty()) { return result; |
