mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2024-11-14 10:39:05 +00:00
remove unused typedef
This commit is contained in:
parent
c3636c10d2
commit
251c1d174e
1 changed files with 1 additions and 2 deletions
|
@ -782,8 +782,7 @@ namespace sprout {
|
||||||
//
|
//
|
||||||
template<typename T, typename = typename std::enable_if<std::is_arithmetic<T>::value>::type>
|
template<typename T, typename = typename std::enable_if<std::is_arithmetic<T>::value>::type>
|
||||||
inline SPROUT_CONSTEXPR T factorial(std::size_t x) {
|
inline SPROUT_CONSTEXPR T factorial(std::size_t x) {
|
||||||
typedef typename std::remove_cv<T>::type type;
|
return SPROUT_ASSERT(x <= sprout::math::factorial_limit<typename std::remove_cv<T>::type>()),
|
||||||
return SPROUT_ASSERT(x <= sprout::math::factorial_limit<type>()),
|
|
||||||
sprout::math::unchecked_factorial<T>(x)
|
sprout::math::unchecked_factorial<T>(x)
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue