Clazy warnings.
This commit is contained in:
parent
e00cfb9890
commit
33b8482f18
|
@ -40,7 +40,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
#if !defined(V_NO_ASSERT)
|
#if !defined(V_NO_ASSERT)
|
||||||
// Use for writing tests
|
// Use for writing tests
|
||||||
QJsonObject PointToJson(const QPointF &point)
|
auto PointToJson(const QPointF &point) -> QJsonObject
|
||||||
{
|
{
|
||||||
QJsonObject pointObject
|
QJsonObject pointObject
|
||||||
{
|
{
|
||||||
|
|
|
@ -895,7 +895,7 @@ QVector<QPointF> CleanLoopArtifacts(const QVector<VRawSAPoint> &points)
|
||||||
{
|
{
|
||||||
QVector<QPointF> cleaned;
|
QVector<QPointF> cleaned;
|
||||||
cleaned.reserve(points.size());
|
cleaned.reserve(points.size());
|
||||||
for (auto &point : points)
|
for (const auto &point : points)
|
||||||
{
|
{
|
||||||
if (not point.LoopPoint())
|
if (not point.LoopPoint())
|
||||||
{
|
{
|
||||||
|
@ -1211,7 +1211,7 @@ QVector<QPointF> VAbstractPiece::CheckLoops(const QVector<QPointF> &points)
|
||||||
* @param points vector of points of equidistant.
|
* @param points vector of points of equidistant.
|
||||||
* @return vector of points of equidistant.
|
* @return vector of points of equidistant.
|
||||||
*/
|
*/
|
||||||
QVector<QPointF> VAbstractPiece::CheckLoops(const QVector<VRawSAPoint> &points)
|
auto VAbstractPiece::CheckLoops(const QVector<VRawSAPoint> &points) -> QVector<QPointF>
|
||||||
{
|
{
|
||||||
// DumpVector(points); // Uncomment for dumping test data
|
// DumpVector(points); // Uncomment for dumping test data
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user