summaryrefslogtreecommitdiffstats
path: root/src/2geom/elliptical-arc.cpp
diff options
context:
space:
mode:
authorPatrick Storz <eduard.braun2@gmx.de>2019-03-24 20:22:10 +0000
committerPatrick Storz <eduard.braun2@gmx.de>2019-03-24 20:28:41 +0000
commit4ebf9a1c96d7484529f3ed38fa1b4220e484a2c5 (patch)
tree14ae3b1953d61681d8428f25f6a48b54ae5f2003 /src/2geom/elliptical-arc.cpp
parentAbout dialog: Fix icon file location (diff)
downloadinkscape-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/elliptical-arc.cpp')
-rw-r--r--src/2geom/elliptical-arc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/2geom/elliptical-arc.cpp b/src/2geom/elliptical-arc.cpp
index ec62b4be2..b7d60fd17 100644
--- a/src/2geom/elliptical-arc.cpp
+++ b/src/2geom/elliptical-arc.cpp
@@ -262,7 +262,7 @@ EllipticalArc::pointAndDerivatives(Coord t, unsigned int n) const
std::vector<Point> result;
result.reserve(nn);
double angle = angleAt(t);
- std::auto_ptr<EllipticalArc> ea( static_cast<EllipticalArc*>(duplicate()) );
+ std::unique_ptr<EllipticalArc> ea( static_cast<EllipticalArc*>(duplicate()) );
ea->_ellipse.setCenter(0, 0);
unsigned int m = std::min(nn, 4u);
for ( unsigned int i = 0; i < m; ++i )