Boost logo

Boost-Commit :

From: pbristow_at_[hidden]
Date: 2007-08-25 07:59:57


Author: pbristow
Date: 2007-08-25 07:59:56 EDT (Sat, 25 Aug 2007)
New Revision: 38930
URL: http://svn.boost.org/trac/boost/changeset/38930

Log:
Removed warning suppression push'n'pop
Text files modified:
   sandbox/math_toolkit/boost/math/distributions/detail/common_error_handling.hpp | 14 +++-----------
   1 files changed, 3 insertions(+), 11 deletions(-)

Modified: sandbox/math_toolkit/boost/math/distributions/detail/common_error_handling.hpp
==============================================================================
--- sandbox/math_toolkit/boost/math/distributions/detail/common_error_handling.hpp (original)
+++ sandbox/math_toolkit/boost/math/distributions/detail/common_error_handling.hpp 2007-08-25 07:59:56 EDT (Sat, 25 Aug 2007)
@@ -1,5 +1,5 @@
 // Copyright John Maddock 2006.
-// Copyright Paul A. Bristow 2007.
+// Copyright Paul A. Bristow 2006, 2007.
 
 // Use, modification and distribution are subject to the
 // Boost Software License, Version 1.0.
@@ -12,12 +12,8 @@
 #include <boost/math/policies/error_handling.hpp>
 #include <boost/math/special_functions/fpclassify.hpp>
 
-#ifdef BOOST_MSVC
-# pragma warning(push)
-//# pragma warning(disable: 4702) // unreachable code (return after domain_error throw).
-#endif
-
-namespace boost{ namespace math{ namespace detail{
+namespace boost{ namespace math{ namespace detail
+{
 
 template <class RealType, class Policy>
 inline bool check_probability(const char* function, RealType const& prob, RealType* result, const Policy& pol)
@@ -62,10 +58,6 @@
    return true;
 }
 
-#ifdef BOOST_MSVC
-# pragma warning(pop)
-#endif
-
 } // namespace detail
 } // namespace math
 } // namespace boost


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk