From 251c1d174e05635d42916ca6cc677766028b32c2 Mon Sep 17 00:00:00 2001 From: bolero-MURAKAMI Date: Mon, 23 Mar 2015 00:29:21 +0900 Subject: [PATCH] remove unused typedef --- sprout/math/factorial.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sprout/math/factorial.hpp b/sprout/math/factorial.hpp index 322a7ae6..6cba986e 100644 --- a/sprout/math/factorial.hpp +++ b/sprout/math/factorial.hpp @@ -782,8 +782,7 @@ namespace sprout { // template::value>::type> inline SPROUT_CONSTEXPR T factorial(std::size_t x) { - typedef typename std::remove_cv::type type; - return SPROUT_ASSERT(x <= sprout::math::factorial_limit()), + return SPROUT_ASSERT(x <= sprout::math::factorial_limit::type>()), sprout::math::unchecked_factorial(x) ; }