Commit 9f260bf6 authored by Don Gagne's avatar Don Gagne

Fix compiler warnings

parent e26596c1
......@@ -30,6 +30,8 @@
#include <QDebug>
#include <limits>
FactMetaData::FactMetaData(ValueType_t type, QObject* parent) :
QObject(parent),
_group("Default Group"),
......@@ -102,6 +104,9 @@ QVariant FactMetaData::_minForType(void)
case valueTypeDouble:
return QVariant(-std::numeric_limits<double>::max());
}
// Make windows compiler happy, even switch is full cased
return QVariant();
}
QVariant FactMetaData::_maxForType(void)
......@@ -124,4 +129,7 @@ QVariant FactMetaData::_maxForType(void)
case valueTypeDouble:
return QVariant(std::numeric_limits<double>::max());
}
// Make windows compiler happy, even switch is full cased
return QVariant();
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment