summaryrefslogtreecommitdiffstats
path: root/src/2geom/elliptical-arc.cpp
diff options
context:
space:
mode:
authorThomas Holder <thomas@thomas-holder.de>2018-09-30 18:30:50 +0000
committerThomas Holder <thomas@thomas-holder.de>2018-09-30 18:30:50 +0000
commit50cc9b79df730bf5a6f4c5010168fff9342ccea7 (patch)
tree711e790493ba7e0fde9ad9ae4ad2d01a0f8eb746 /src/2geom/elliptical-arc.cpp
parentrefactor: simplify loop (diff)
downloadinkscape-50cc9b79df730bf5a6f4c5010168fff9342ccea7.tar.gz
inkscape-50cc9b79df730bf5a6f4c5010168fff9342ccea7.zip
c++11 refactor: std::auto_ptr -> std::unique_ptr
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 )