From 31c25e9ff23730b5b1a00a4b4470e830d3a957c6 Mon Sep 17 00:00:00 2001 From: Alex Fabijanic Date: Tue, 26 Sep 2017 22:50:35 -0500 Subject: [PATCH] revert change --- Foundation/include/Poco/Dynamic/VarHolder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Foundation/include/Poco/Dynamic/VarHolder.h b/Foundation/include/Poco/Dynamic/VarHolder.h index 9b4708c64..4fb673229 100644 --- a/Foundation/include/Poco/Dynamic/VarHolder.h +++ b/Foundation/include/Poco/Dynamic/VarHolder.h @@ -406,7 +406,7 @@ private: throw RangeException("Value too large."); } else - if (from > static_cast(std::numeric_limits::max())) + if (from > std::numeric_limits::max()) { throw RangeException("Value too large."); }