Clang warning local variable 'polygon' will be copied despite being returned by

name.

--HG--
branch : develop
merge-requests/1/merge
Roman Telezhynskyi 2019-04-05 12:56:47 +03:00
parent 273cd77205
commit 3777d57ada
1 changed files with 1 additions and 1 deletions

View File

@ -288,7 +288,7 @@ QVector<QPointF> VEllipticalArc::GetPoints() const
}
}
return polygon;
return static_cast<QVector<QPointF>>(polygon);
}
//---------------------------------------------------------------------------------------------------------------------