From 11681e54b1db0da8417a758de920ce4bd6033bed Mon Sep 17 00:00:00 2001
From: Michael Stahl <mstahl@redhat.com>
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
|
b
|
inline bool (isfinite)(long double x)
|
348 | 348 | { //!< \brief return true if floating-point type t is finite. |
349 | 349 | typedef detail::fp_traits<long double>::type traits; |
350 | 350 | typedef traits::method method; |
351 | | typedef boost::is_floating_point<long double>::type fp_tag; |
352 | 351 | typedef long double value_type; |
353 | 352 | return detail::isfinite_impl(static_cast<value_type>(x), method()); |
354 | 353 | } |
… |
… |
inline bool (isnormal)(long double x)
|
419 | 418 | { |
420 | 419 | typedef detail::fp_traits<long double>::type traits; |
421 | 420 | typedef traits::method method; |
422 | | typedef boost::is_floating_point<long double>::type fp_tag; |
423 | 421 | typedef long double value_type; |
424 | 422 | return detail::isnormal_impl(static_cast<value_type>(x), method()); |
425 | 423 | } |
… |
… |
inline bool (isinf)(long double x)
|
508 | 506 | { |
509 | 507 | typedef detail::fp_traits<long double>::type traits; |
510 | 508 | typedef traits::method method; |
511 | | typedef boost::is_floating_point<long double>::type fp_tag; |
512 | 509 | typedef long double value_type; |
513 | 510 | return detail::isinf_impl(static_cast<value_type>(x), method()); |
514 | 511 | } |
… |
… |
inline bool (isnan)(long double x)
|
594 | 591 | { //!< \brief return true if floating-point type t is NaN (Not A Number). |
595 | 592 | typedef detail::fp_traits<long double>::type traits; |
596 | 593 | typedef traits::method method; |
597 | | typedef boost::is_floating_point<long double>::type fp_tag; |
598 | 594 | return detail::isnan_impl(x, method()); |
599 | 595 | } |
600 | 596 | #endif |