another attempt at #1904

This commit is contained in:
Alex Fabijanic
2017-10-06 13:32:42 -05:00
parent a1b1f0a38a
commit 45dbbc66f5

View File

@@ -397,8 +397,9 @@ protected:
}
private:
template <typename F, typename T>
void checkUpperLimit(const F& from) const
void POCO_UNUSED checkUpperLimit(const F& from) const
{
if ((sizeof(T) < sizeof(F)) &&
(from > static_cast<F>(std::numeric_limits<T>::max())))
@@ -412,6 +413,7 @@ private:
}
}
template <typename F, typename T>
void checkUpperLimitFloat(const F& from) const
{