Fix missing header.
This commit is contained in:
parent
bbed14d37d
commit
97957cf4d7
|
@ -32,6 +32,7 @@
|
|||
#include <QMessageLogger>
|
||||
#include <QScopedPointer>
|
||||
#include <QtDebug>
|
||||
#include <limits>
|
||||
|
||||
#include "../qmuparser/qmuparsererror.h"
|
||||
#include "../vmisc/def.h"
|
||||
|
@ -273,6 +274,6 @@ void VFormula::ResetState()
|
|||
{
|
||||
d->strValue = tr("Error");
|
||||
d->error = true;
|
||||
d->dValue = NAN;
|
||||
d->dValue = std::numeric_limits<qreal>::quiet_NaN();
|
||||
d->reason = tr("Not evaluated");
|
||||
}
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
|
||||
#include <QCoreApplication>
|
||||
#include <QSharedData>
|
||||
#include <limits>
|
||||
|
||||
#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0)
|
||||
#include "../vmisc/diagnostic.h"
|
||||
|
@ -61,7 +62,7 @@ public:
|
|||
quint32 toolId{NULL_ID}; // NOLINT(misc-non-private-member-variables-in-classes)
|
||||
QString postfix{}; // NOLINT(misc-non-private-member-variables-in-classes)
|
||||
bool error{true}; // NOLINT(misc-non-private-member-variables-in-classes)
|
||||
qreal dValue{NAN}; // NOLINT(misc-non-private-member-variables-in-classes)
|
||||
qreal dValue{std::numeric_limits<qreal>::quiet_NaN()}; // NOLINT(misc-non-private-member-variables-in-classes)
|
||||
QString reason{tr("Formula is empty")}; // NOLINT(misc-non-private-member-variables-in-classes)
|
||||
|
||||
private:
|
||||
|
|
Loading…
Reference in New Issue
Block a user