Skip to content

Commit

Permalink
[convert to curve] PR review
Browse files Browse the repository at this point in the history
Co-authored-by: Matthias Kuhn <matthias@opengis.ch>
  • Loading branch information
2 people authored and nyalldawson committed Jun 18, 2021
1 parent 3973c02 commit f4be8fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/geometry/qgsgeometry.cpp
Expand Up @@ -584,7 +584,7 @@ bool QgsGeometry::convertVertex( int atVertex )
{
// TODO : move this block before the above, so we call convertVertex only in one place
// If the geom is a linestring or cirularstring, we create a compound curve
QgsCompoundCurve *cpdCurve = new QgsCompoundCurve();
std::unique_ptr<QgsCompoundCurve> cpdCurve = std::make_unique<QgsCompoundCurve>();
cpdCurve->addCurve( curve->clone() );
success = cpdCurve->convertVertex( QgsVertexId( -1, -1, id.vertex ) );

Expand Down

0 comments on commit f4be8fe

Please sign in to comment.