Fixing error: invalid return type 'void' of constexpr function.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2019-11-03 10:45:04 +02:00
parent b8f2d1782b
commit bb70989165

View File

@ -46,7 +46,7 @@ public:
Q_DECL_CONSTEXPR VRawSAPoint(QPointF p);
Q_DECL_CONSTEXPR bool LoopPoint() const;
Q_DECL_CONSTEXPR void SetLoopPoint(bool loopPoint);
Q_DECL_RELAXED_CONSTEXPR void SetLoopPoint(bool loopPoint);
QJsonObject toJson() const;
@ -81,7 +81,7 @@ Q_DECL_CONSTEXPR inline bool VRawSAPoint::LoopPoint() const
}
//---------------------------------------------------------------------------------------------------------------------
Q_DECL_CONSTEXPR inline void VRawSAPoint::SetLoopPoint(bool loopPoint)
Q_DECL_RELAXED_CONSTEXPR inline void VRawSAPoint::SetLoopPoint(bool loopPoint)
{
m_loopPoint = loopPoint;
}