1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2024-11-12 21:09:01 +00:00

使用されていない型が定義されており、警告が出ていたので削除

This commit is contained in:
manga_osyo 2012-10-05 16:54:38 +09:00
parent a660478548
commit 7781a855fc

View file

@ -24,7 +24,6 @@ namespace sprout {
FloatType p10 = FloatType(10) FloatType p10 = FloatType(10)
) )
{ {
typedef typename std::iterator_traits<CStrIterator>::value_type char_type;
return n ? sprout::detail::str_to_float_impl_scale<FloatType>( return n ? sprout::detail::str_to_float_impl_scale<FloatType>(
str, str,
negative, negative,
@ -49,7 +48,6 @@ namespace sprout {
long n = 0 long n = 0
) )
{ {
typedef typename std::iterator_traits<CStrIterator>::value_type char_type;
return exponent >= std::numeric_limits<FloatType>::min_exponent return exponent >= std::numeric_limits<FloatType>::min_exponent
&& exponent <= std::numeric_limits<FloatType>::max_exponent && exponent <= std::numeric_limits<FloatType>::max_exponent
? sprout::detail::str_to_float_impl_scale<FloatType>( ? sprout::detail::str_to_float_impl_scale<FloatType>(
@ -145,7 +143,6 @@ namespace sprout {
long exponent = 0 long exponent = 0
) )
{ {
typedef typename std::iterator_traits<CStrIterator>::value_type char_type;
return num_digits == 0 ? FloatType() return num_digits == 0 ? FloatType()
: sprout::detail::str_to_float_impl_exponent<FloatType>( : sprout::detail::str_to_float_impl_exponent<FloatType>(
str, str,