Fixed build on Windows with Qt 5.6.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2019-04-17 17:35:11 +03:00
parent 4fa73c302c
commit f420812f5d

View File

@ -71,10 +71,10 @@ public:
void SetAngleType(PieceNodeAngle value); void SetAngleType(PieceNodeAngle value);
Q_DECL_CONSTEXPR bool IsManualPasskmarkLength() const; Q_DECL_CONSTEXPR bool IsManualPasskmarkLength() const;
Q_DECL_CONSTEXPR void SetManualPasskmarkLength(bool value); Q_DECL_RELAXED_CONSTEXPR void SetManualPasskmarkLength(bool value);
Q_DECL_CONSTEXPR qreal GetPasskmarkLength() const; Q_DECL_CONSTEXPR qreal GetPasskmarkLength() const;
Q_DECL_CONSTEXPR void SetPasskmarkLength(qreal value); Q_DECL_RELAXED_CONSTEXPR void SetPasskmarkLength(qreal value);
qreal MaxLocalSA(qreal width) const; qreal MaxLocalSA(qreal width) const;
qreal PassmarkLength(qreal width) const; qreal PassmarkLength(qreal width) const;
@ -150,7 +150,7 @@ Q_DECL_CONSTEXPR inline bool VSAPoint::IsManualPasskmarkLength() const
} }
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------
Q_DECL_CONSTEXPR inline void VSAPoint::SetManualPasskmarkLength(bool value) Q_DECL_RELAXED_CONSTEXPR inline void VSAPoint::SetManualPasskmarkLength(bool value)
{ {
m_manualPassmarkLength = value; m_manualPassmarkLength = value;
} }
@ -162,7 +162,7 @@ Q_DECL_CONSTEXPR inline qreal VSAPoint::GetPasskmarkLength() const
} }
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------
Q_DECL_CONSTEXPR inline void VSAPoint::SetPasskmarkLength(qreal value) Q_DECL_RELAXED_CONSTEXPR inline void VSAPoint::SetPasskmarkLength(qreal value)
{ {
m_passmarkLength = value; m_passmarkLength = value;
} }