Noexcept-expression evaluates to 'false' because of a call to 'constexpr

VSAPoint::VSAPoint()'.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2020-01-07 08:28:13 +02:00
parent bfe9bd808d
commit 3db69c34ee

View File

@ -30,6 +30,7 @@
#include "../vmisc/diagnostic.h" #include "../vmisc/diagnostic.h"
#include "../vmisc/def.h" #include "../vmisc/def.h"
#include "../ifc/ifcdef.h"
#include <QPointF> #include <QPointF>
@ -43,7 +44,7 @@ QT_WARNING_DISABLE_GCC("-Wnon-virtual-dtor")
class VSAPoint : public QPointF class VSAPoint : public QPointF
{ {
public: public:
Q_DECL_CONSTEXPR VSAPoint(); Q_DECL_CONSTEXPR VSAPoint() V_NOEXCEPT_EXPR (true);
Q_DECL_CONSTEXPR VSAPoint(qreal xpos, qreal ypos); Q_DECL_CONSTEXPR VSAPoint(qreal xpos, qreal ypos);
Q_DECL_CONSTEXPR explicit VSAPoint(QPointF p); Q_DECL_CONSTEXPR explicit VSAPoint(QPointF p);
@ -85,7 +86,7 @@ Q_DECLARE_METATYPE(VSAPoint)
Q_DECLARE_TYPEINFO(VSAPoint, Q_MOVABLE_TYPE); Q_DECLARE_TYPEINFO(VSAPoint, Q_MOVABLE_TYPE);
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------
Q_DECL_CONSTEXPR inline VSAPoint::VSAPoint() Q_DECL_CONSTEXPR inline VSAPoint::VSAPoint() V_NOEXCEPT_EXPR (true)
{} {}
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------