From bd85bbcb27b24d1017b325ad38a71b11d6d59dfe Mon Sep 17 00:00:00 2001 From: Andrew Bell Date: Mon, 30 Apr 2018 12:32:38 -0400 Subject: [PATCH] Parens. --- pdal/util/Utils.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pdal/util/Utils.hpp b/pdal/util/Utils.hpp index 9652ec1103..53e99c14fa 100644 --- a/pdal/util/Utils.hpp +++ b/pdal/util/Utils.hpp @@ -686,8 +686,8 @@ namespace Utils } return std::is_same::value || - (in >= (static_caststd::numeric_limits::lowest()) && - in <= (static_caststd::numeric_limits::max)()); + (in >= static_cast(std::numeric_limits::lowest()) && + in <= static_cast((std::numeric_limits::max)())); } /** @@ -727,8 +727,8 @@ namespace Utils if (std::is_integral::value) in = static_cast(sround((double)in)); if ((std::is_same::value) || - in <= (static_caststd::numeric_limits::max)()) && - in >= (static_caststd::numeric_limits::lowest()))) + (in <= static_cast((std::numeric_limits::max)()) && + in >= static_cast(std::numeric_limits::lowest()))) { out = static_cast(in); return true;