revert change

This commit is contained in:
Alex Fabijanic
2017-09-26 22:50:35 -05:00
parent b014fa429f
commit 31c25e9ff2

View File

@@ -406,7 +406,7 @@ private:
throw RangeException("Value too large."); throw RangeException("Value too large.");
} }
else else
if (from > static_cast<F>(std::numeric_limits<T>::max())) if (from > std::numeric_limits<T>::max())
{ {
throw RangeException("Value too large."); throw RangeException("Value too large.");
} }