From 9f260bf61ac509629944ed9de6a388231177eae5 Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Thu, 16 Apr 2015 10:58:57 -0700 Subject: [PATCH] Fix compiler warnings --- src/FactSystem/FactMetaData.cc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/FactSystem/FactMetaData.cc b/src/FactSystem/FactMetaData.cc index f4df519..ea46a6d 100644 --- a/src/FactSystem/FactMetaData.cc +++ b/src/FactSystem/FactMetaData.cc @@ -30,6 +30,8 @@ #include +#include + 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::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::max()); } + + // Make windows compiler happy, even switch is full cased + return QVariant(); }