mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
cleanup: use already defined constant
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
39857ff717
commit
540848cb66
1 changed files with 1 additions and 2 deletions
|
@ -113,7 +113,7 @@ template<> int invalid_value<int>()
|
|||
}
|
||||
template<> double invalid_value<double>()
|
||||
{
|
||||
return std::numeric_limits<double>::quiet_NaN();
|
||||
return NaN;
|
||||
}
|
||||
template<> QString invalid_value<QString>()
|
||||
{
|
||||
|
@ -121,7 +121,6 @@ template<> QString invalid_value<QString>()
|
|||
}
|
||||
template<> StatsQuartiles invalid_value<StatsQuartiles>()
|
||||
{
|
||||
double NaN = std::numeric_limits<double>::quiet_NaN();
|
||||
return { std::vector<dive *>(), NaN, NaN, NaN, NaN, NaN };
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue