Clang warning local variable 'polygon' will be copied despite being returned by
name. --HG-- branch : develop
This commit is contained in:
parent
273cd77205
commit
3777d57ada
|
@ -288,7 +288,7 @@ QVector<QPointF> VEllipticalArc::GetPoints() const
|
|||
}
|
||||
}
|
||||
|
||||
return polygon;
|
||||
return static_cast<QVector<QPointF>>(polygon);
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue
Block a user