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