diff options
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; |
