Fix compatibility with Qt 6.7.
This commit is contained in:
parent
d7be594820
commit
96465460bd
|
@ -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)) // NOLINT(bugprone-use-after-move)
|
d(std::move(curve.d))
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -123,6 +123,8 @@ private:
|
||||||
|
|
||||||
QT_WARNING_POP
|
QT_WARNING_POP
|
||||||
|
|
||||||
|
#if QT_VERSION < QT_VERSION_CHECK(6, 7, 0)
|
||||||
Q_DECLARE_TYPEINFO(VAbstractCurve, Q_MOVABLE_TYPE); // NOLINT
|
Q_DECLARE_TYPEINFO(VAbstractCurve, Q_MOVABLE_TYPE); // NOLINT
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // VABSTRACTCURVE_H
|
#endif // VABSTRACTCURVE_H
|
||||||
|
|
Loading…
Reference in New Issue
Block a user