Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r70036 - trunk/boost/range
From: neil_at_[hidden]
Date: 2011-03-16 19:32:00


Author: neilgroves
Date: 2011-03-16 19:31:59 EDT (Wed, 16 Mar 2011)
New Revision: 70036
URL: http://svn.boost.org/trac/boost/changeset/70036

Log:
[range] - Fix for Trac issue 5295 - boost/range/sub_range.hpp cannot be included by itself
Text files modified:
   trunk/boost/range/sub_range.hpp | 3 ++-
   1 files changed, 2 insertions(+), 1 deletions(-)

Modified: trunk/boost/range/sub_range.hpp
==============================================================================
--- trunk/boost/range/sub_range.hpp (original)
+++ trunk/boost/range/sub_range.hpp 2011-03-16 19:31:59 EDT (Wed, 16 Mar 2011)
@@ -12,12 +12,13 @@
 #ifndef BOOST_RANGE_SUB_RANGE_HPP
 #define BOOST_RANGE_SUB_RANGE_HPP
 
+#include <boost/detail/workaround.hpp>
+
 #if BOOST_WORKAROUND(BOOST_MSVC, BOOST_TESTED_AT(1500))
     #pragma warning( push )
     #pragma warning( disable : 4996 )
 #endif
 
-#include <boost/detail/workaround.hpp>
 #include <boost/range/config.hpp>
 #include <boost/range/iterator_range.hpp>
 #include <boost/range/value_type.hpp>


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