Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
9f260bf6
Commit
9f260bf6
authored
Apr 16, 2015
by
Don Gagne
Browse files
Fix compiler warnings
parent
e26596c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/FactSystem/FactMetaData.cc
View file @
9f260bf6
...
...
@@ -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
();
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment