From 11681e54b1db0da8417a758de920ce4bd6033bed Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Sun, 13 Apr 2014 23:59:10 +0200 Subject: [PATCH] math: fix GCC 4.8 -Wunused-local-typedefs warnings --- include/boost/math/special_functions/fpclassify.hpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/boost/math/special_functions/fpclassify.hpp b/include/boost/math/special_functions/fpclassify.hpp index 75f57b0..83132c8 100644 --- a/include/boost/math/special_functions/fpclassify.hpp +++ b/include/boost/math/special_functions/fpclassify.hpp @@ -348,7 +348,6 @@ inline bool (isfinite)(long double x) { //!< \brief return true if floating-point type t is finite. typedef detail::fp_traits::type traits; typedef traits::method method; - typedef boost::is_floating_point::type fp_tag; typedef long double value_type; return detail::isfinite_impl(static_cast(x), method()); } @@ -419,7 +418,6 @@ inline bool (isnormal)(long double x) { typedef detail::fp_traits::type traits; typedef traits::method method; - typedef boost::is_floating_point::type fp_tag; typedef long double value_type; return detail::isnormal_impl(static_cast(x), method()); } @@ -508,7 +506,6 @@ inline bool (isinf)(long double x) { typedef detail::fp_traits::type traits; typedef traits::method method; - typedef boost::is_floating_point::type fp_tag; typedef long double value_type; return detail::isinf_impl(static_cast(x), method()); } @@ -594,7 +591,6 @@ inline bool (isnan)(long double x) { //!< \brief return true if floating-point type t is NaN (Not A Number). typedef detail::fp_traits::type traits; typedef traits::method method; - typedef boost::is_floating_point::type fp_tag; return detail::isnan_impl(x, method()); } #endif -- 1.8.3.1