From c2d194c23f640cf8d4af803358d98fb5aba17a1b Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Tue, 6 Aug 2019 16:39:14 +0300 Subject: [PATCH] Clazy warning. --HG-- branch : develop --- src/libs/vlayout/vabstractpiece.cpp | 5 +++-- src/libs/vlayout/vabstractpiece.h | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/libs/vlayout/vabstractpiece.cpp b/src/libs/vlayout/vabstractpiece.cpp index 7be188472..92aeedd20 100644 --- a/src/libs/vlayout/vabstractpiece.cpp +++ b/src/libs/vlayout/vabstractpiece.cpp @@ -1289,8 +1289,9 @@ QVector VAbstractPiece::CheckLoops(const QVector &points) * @param width global seam allowance width. * @return seam aloowance points. */ -QVector VAbstractPiece::EkvPoint(QVector points, const VSAPoint &p1Line1, VSAPoint p2Line1, - const VSAPoint &p1Line2, VSAPoint p2Line2, qreal width, bool *needRollback) +QVector VAbstractPiece::EkvPoint(QVector points, const VSAPoint &p1Line1, const VSAPoint &p2Line1, + const VSAPoint &p1Line2, const VSAPoint &p2Line2, qreal width, + bool *needRollback) { if (width < 0) { // width can't be < 0 diff --git a/src/libs/vlayout/vabstractpiece.h b/src/libs/vlayout/vabstractpiece.h index 356cc8e02..80c898f85 100644 --- a/src/libs/vlayout/vabstractpiece.h +++ b/src/libs/vlayout/vabstractpiece.h @@ -219,8 +219,8 @@ public: static QVector Equidistant(QVector points, qreal width, const QString &name); static qreal SumTrapezoids(const QVector &points); static QVector CheckLoops(const QVector &points); - static QVector EkvPoint(QVector points, const VSAPoint &p1Line1, VSAPoint p2Line1, - const VSAPoint &p1Line2, VSAPoint p2Line2, qreal width, + static QVector EkvPoint(QVector points, const VSAPoint &p1Line1, const VSAPoint &p2Line1, + const VSAPoint &p1Line2, const VSAPoint &p2Line2, qreal width, bool *needRollback = nullptr); static QLineF ParallelLine(const VSAPoint &p1, const VSAPoint &p2, qreal width); static bool IsAllowanceValid(const QVector &base, const QVector &allowance);