Suppress warning object used after it was moved.
This commit is contained in:
parent
ff018a3f2c
commit
d6fa5ddac0
|
@ -89,7 +89,7 @@ auto VAbstractArc::operator=(const VAbstractArc &arc) -> VAbstractArc &
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
VAbstractArc::VAbstractArc(VAbstractArc &&arc) noexcept
|
VAbstractArc::VAbstractArc(VAbstractArc &&arc) noexcept
|
||||||
: VAbstractCurve(std::move(arc)),
|
: VAbstractCurve(std::move(arc)),
|
||||||
d(std::move(arc.d))
|
d(std::move(arc.d)) // NOLINT(bugprone-use-after-move)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -99,7 +99,7 @@ auto VAbstractCurve::operator=(const VAbstractCurve &curve) -> VAbstractCurve &
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
VAbstractCurve::VAbstractCurve(VAbstractCurve &&curve) noexcept
|
VAbstractCurve::VAbstractCurve(VAbstractCurve &&curve) noexcept
|
||||||
: VGObject(std::move(curve)),
|
: VGObject(std::move(curve)),
|
||||||
d(std::move(curve.d))
|
d(std::move(curve.d)) // NOLINT(bugprone-use-after-move)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -121,7 +121,7 @@ auto VArc::operator=(const VArc &arc) -> VArc &
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
VArc::VArc(VArc &&arc) noexcept
|
VArc::VArc(VArc &&arc) noexcept
|
||||||
: VAbstractArc(std::move(arc)),
|
: VAbstractArc(std::move(arc)),
|
||||||
d(std::move(arc.d))
|
d(std::move(arc.d)) // NOLINT(bugprone-use-after-move)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,7 @@ auto VCubicBezier::operator=(const VCubicBezier &curve) -> VCubicBezier &
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
VCubicBezier::VCubicBezier(VCubicBezier &&curve) noexcept
|
VCubicBezier::VCubicBezier(VCubicBezier &&curve) noexcept
|
||||||
: VAbstractCubicBezier(std::move(curve)),
|
: VAbstractCubicBezier(std::move(curve)),
|
||||||
d(std::move(curve.d))
|
d(std::move(curve.d)) // NOLINT(bugprone-use-after-move)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -77,7 +77,7 @@ auto VCubicBezierPath::operator=(const VCubicBezierPath &curve) -> VCubicBezierP
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
VCubicBezierPath::VCubicBezierPath(VCubicBezierPath &&curve) noexcept
|
VCubicBezierPath::VCubicBezierPath(VCubicBezierPath &&curve) noexcept
|
||||||
: VAbstractCubicBezierPath(std::move(curve)),
|
: VAbstractCubicBezierPath(std::move(curve)),
|
||||||
d(std::move(curve.d))
|
d(std::move(curve.d)) // NOLINT(bugprone-use-after-move)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -323,7 +323,7 @@ auto VEllipticalArc::operator=(const VEllipticalArc &arc) -> VEllipticalArc &
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
VEllipticalArc::VEllipticalArc(VEllipticalArc &&arc) noexcept
|
VEllipticalArc::VEllipticalArc(VEllipticalArc &&arc) noexcept
|
||||||
: VAbstractArc(std::move(arc)),
|
: VAbstractArc(std::move(arc)),
|
||||||
d(std::move(arc.d))
|
d(std::move(arc.d)) // NOLINT(bugprone-use-after-move)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -238,7 +238,7 @@ auto VPlaceLabelItem::operator=(const VPlaceLabelItem &item) -> VPlaceLabelItem
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
VPlaceLabelItem::VPlaceLabelItem(VPlaceLabelItem &&item) noexcept
|
VPlaceLabelItem::VPlaceLabelItem(VPlaceLabelItem &&item) noexcept
|
||||||
: VPointF(std::move(item)),
|
: VPointF(std::move(item)),
|
||||||
d(std::move(item.d))
|
d(std::move(item.d)) // NOLINT(bugprone-use-after-move)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -114,7 +114,7 @@ auto VPointF::operator=(const VPointF &point) -> VPointF &
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
VPointF::VPointF(VPointF &&point) noexcept
|
VPointF::VPointF(VPointF &&point) noexcept
|
||||||
: VGObject(std::move(point)),
|
: VGObject(std::move(point)),
|
||||||
d(std::move(point.d))
|
d(std::move(point.d)) // NOLINT(bugprone-use-after-move)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -269,7 +269,7 @@ auto VSpline::operator=(const VSpline &spline) -> VSpline &
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
VSpline::VSpline(VSpline &&spline) noexcept
|
VSpline::VSpline(VSpline &&spline) noexcept
|
||||||
: VAbstractCubicBezier(std::move(spline)),
|
: VAbstractCubicBezier(std::move(spline)),
|
||||||
d(std::move(spline.d))
|
d(std::move(spline.d)) // NOLINT(bugprone-use-after-move)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -315,7 +315,7 @@ auto VSplinePath::operator=(const VSplinePath &path) -> VSplinePath &
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
VSplinePath::VSplinePath(VSplinePath &&splPath) noexcept
|
VSplinePath::VSplinePath(VSplinePath &&splPath) noexcept
|
||||||
: VAbstractCubicBezierPath(std::move(splPath)),
|
: VAbstractCubicBezierPath(std::move(splPath)),
|
||||||
d(std::move(splPath.d))
|
d(std::move(splPath.d)) // NOLINT(bugprone-use-after-move)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -613,7 +613,7 @@ auto VLayoutPiece::operator=(const VLayoutPiece &detail) -> VLayoutPiece &
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
VLayoutPiece::VLayoutPiece(VLayoutPiece &&detail) noexcept
|
VLayoutPiece::VLayoutPiece(VLayoutPiece &&detail) noexcept
|
||||||
: VAbstractPiece(std::move(detail)),
|
: VAbstractPiece(std::move(detail)),
|
||||||
d(std::move(detail.d))
|
d(std::move(detail.d)) // NOLINT(bugprone-use-after-move)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -57,7 +57,7 @@ auto VGrainlineData::operator=(const VGrainlineData &data) -> VGrainlineData &
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
VGrainlineData::VGrainlineData(VGrainlineData &&data) noexcept
|
VGrainlineData::VGrainlineData(VGrainlineData &&data) noexcept
|
||||||
: VAbstractFloatItemData(std::move(data)),
|
: VAbstractFloatItemData(std::move(data)),
|
||||||
d(std::move(data.d))
|
d(std::move(data.d)) // NOLINT(bugprone-use-after-move)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -55,7 +55,7 @@ auto VPatternLabelData::operator=(const VPatternLabelData &data) -> VPatternLabe
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
VPatternLabelData::VPatternLabelData(VPatternLabelData &&data) noexcept
|
VPatternLabelData::VPatternLabelData(VPatternLabelData &&data) noexcept
|
||||||
: VAbstractFloatItemData(std::move(data)),
|
: VAbstractFloatItemData(std::move(data)),
|
||||||
d(std::move(data.d))
|
d(std::move(data.d)) // NOLINT(bugprone-use-after-move)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -56,7 +56,7 @@ auto VPieceLabelData::operator=(const VPieceLabelData &data) -> VPieceLabelData
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
VPieceLabelData::VPieceLabelData(VPieceLabelData &&data) noexcept
|
VPieceLabelData::VPieceLabelData(VPieceLabelData &&data) noexcept
|
||||||
: VPatternLabelData(std::move(data)),
|
: VPatternLabelData(std::move(data)),
|
||||||
d(std::move(data.d))
|
d(std::move(data.d)) // NOLINT(bugprone-use-after-move)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -64,7 +64,7 @@ auto VCurveVariable::operator=(const VCurveVariable &var) -> VCurveVariable &
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
VCurveVariable::VCurveVariable(VCurveVariable &&var) noexcept
|
VCurveVariable::VCurveVariable(VCurveVariable &&var) noexcept
|
||||||
: VInternalVariable(std::move(var)),
|
: VInternalVariable(std::move(var)),
|
||||||
d(std::move(var.d))
|
d(std::move(var.d)) // NOLINT(bugprone-use-after-move)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -73,7 +73,7 @@ auto VIncrement::operator=(const VIncrement &incr) -> VIncrement &
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
VIncrement::VIncrement(VIncrement &&incr) noexcept
|
VIncrement::VIncrement(VIncrement &&incr) noexcept
|
||||||
: VVariable(std::move(incr)),
|
: VVariable(std::move(incr)),
|
||||||
d(std::move(incr.d))
|
d(std::move(incr.d)) // NOLINT(bugprone-use-after-move)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -81,7 +81,7 @@ auto VLineAngle::operator=(const VLineAngle &var) -> VLineAngle &
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
VLineAngle::VLineAngle(VLineAngle &&var) noexcept
|
VLineAngle::VLineAngle(VLineAngle &&var) noexcept
|
||||||
: VInternalVariable(std::move(var)),
|
: VInternalVariable(std::move(var)),
|
||||||
d(std::move(var.d))
|
d(std::move(var.d)) // NOLINT(bugprone-use-after-move)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -79,7 +79,7 @@ auto VLengthLine::operator=(const VLengthLine &var) -> VLengthLine &
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
VLengthLine::VLengthLine(VLengthLine &&var) noexcept
|
VLengthLine::VLengthLine(VLengthLine &&var) noexcept
|
||||||
: VInternalVariable(std::move(var)),
|
: VInternalVariable(std::move(var)),
|
||||||
d(std::move(var.d))
|
d(std::move(var.d)) // NOLINT(bugprone-use-after-move)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -99,7 +99,7 @@ auto VMeasurement::operator=(const VMeasurement &m) -> VMeasurement &
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
VMeasurement::VMeasurement(VMeasurement &&m) noexcept
|
VMeasurement::VMeasurement(VMeasurement &&m) noexcept
|
||||||
: VVariable(std::move(m)),
|
: VVariable(std::move(m)),
|
||||||
d(std::move(m.d))
|
d(std::move(m.d)) // NOLINT(bugprone-use-after-move)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -93,7 +93,7 @@ VPieceArea::~VPieceArea() = default;
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
VPieceArea::VPieceArea(VPieceArea &&var) noexcept
|
VPieceArea::VPieceArea(VPieceArea &&var) noexcept
|
||||||
: VInternalVariable(std::move(var)),
|
: VInternalVariable(std::move(var)),
|
||||||
d(std::move(var.d))
|
d(std::move(var.d)) // NOLINT(bugprone-use-after-move)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -65,7 +65,7 @@ auto VVariable::operator=(const VVariable &var) -> VVariable &
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
VVariable::VVariable(VVariable &&var) noexcept
|
VVariable::VVariable(VVariable &&var) noexcept
|
||||||
: VInternalVariable(std::move(var)),
|
: VInternalVariable(std::move(var)),
|
||||||
d(std::move(var.d))
|
d(std::move(var.d)) // NOLINT(bugprone-use-after-move)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -142,7 +142,7 @@ auto VPiece::operator=(const VPiece &piece) -> VPiece &
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
VPiece::VPiece(VPiece &&piece) noexcept
|
VPiece::VPiece(VPiece &&piece) noexcept
|
||||||
: VAbstractPiece(std::move(piece)),
|
: VAbstractPiece(std::move(piece)),
|
||||||
d(std::move(piece.d))
|
d(std::move(piece.d)) // NOLINT(bugprone-use-after-move)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user