Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r50484 - sandbox/partition_point/boost/partition_point
From: aschoedl_at_[hidden]
Date: 2009-01-05 09:15:32


Author: schoedl
Date: 2009-01-05 09:15:32 EST (Mon, 05 Jan 2009)
New Revision: 50484
URL: http://svn.boost.org/trac/boost/changeset/50484

Log:
removed MSVC-specific warning suppressions
Text files modified:
   sandbox/partition_point/boost/partition_point/partition_algorithms.hpp | 12 ++----------
   sandbox/partition_point/boost/partition_point/partition_range_algorithms.hpp | 7 +------
   2 files changed, 3 insertions(+), 16 deletions(-)

Modified: sandbox/partition_point/boost/partition_point/partition_algorithms.hpp
==============================================================================
--- sandbox/partition_point/boost/partition_point/partition_algorithms.hpp (original)
+++ sandbox/partition_point/boost/partition_point/partition_algorithms.hpp 2009-01-05 09:15:32 EST (Mon, 05 Jan 2009)
@@ -6,15 +6,11 @@
 #ifndef BOOST_PARTITION_ALGORITHMS_HPP
 #define BOOST_PARTITION_ALGORITHMS_HPP
 
-#ifdef _MSC_VER
-#if(_MSC_VER>=1200)
+#if defined(_MSC_VER)&&(_MSC_VER>=1200)
 #pragma once
 #endif
-#pragma warning( push )
-#pragma warning( disable: 4244 )
-#endif
 
-#include "partition_point.hpp"
+#include <boost/partition_point/partition_point.hpp>
 #include <boost/ref.hpp> // for boost::cref
 #include <boost/bind.hpp> // for bind
 #include <functional> // for std::less
@@ -93,8 +89,4 @@
 
 } // namespace boost
 
-#ifdef _MSC_VER
-#pragma warning( pop )
-#endif
-
 #endif // BOOST_PARTITION_ALGORITHMS_HPP

Modified: sandbox/partition_point/boost/partition_point/partition_range_algorithms.hpp
==============================================================================
--- sandbox/partition_point/boost/partition_point/partition_range_algorithms.hpp (original)
+++ sandbox/partition_point/boost/partition_point/partition_range_algorithms.hpp 2009-01-05 09:15:32 EST (Mon, 05 Jan 2009)
@@ -1,20 +1,15 @@
 #ifndef BOOST_PARTITION_RANGE_ALGORITHMS_HPP
 #define BOOST_PARTITION_RANGE_ALGORITHMS_HPP
 
-#ifdef _MSC_VER
-#if(_MSC_VER>=1200)
+#if defined(_MSC_VER)&&(_MSC_VER>=1200)
 #pragma once
 #endif
-#endif
 
 #include <boost/partition_point/partition_algorithms.hpp>
 #include <boost/config.hpp>
 #include <boost/range/begin.hpp>
 #include <boost/range/end.hpp>
-#pragma warning( push )
-#pragma warning( disable: 4018 )
 #include <boost/range/sub_range.hpp>
-#pragma warning( pop )
 #include <boost/partition_point/detail/lazy_typedef.hpp>
 
 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