Boost logo

Boost-Commit :

From: john_at_[hidden]
Date: 2008-04-17 11:49:40


Author: johnmaddock
Date: 2008-04-17 11:49:39 EDT (Thu, 17 Apr 2008)
New Revision: 44506
URL: http://svn.boost.org/trac/boost/changeset/44506

Log:
Change <functional> include so that it still works when Boost.TR1 is in the include path.
Text files modified:
   trunk/boost/function/detail/prologue.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/function/detail/prologue.hpp
==============================================================================
--- trunk/boost/function/detail/prologue.hpp (original)
+++ trunk/boost/function/detail/prologue.hpp 2008-04-17 11:49:39 EDT (Thu, 17 Apr 2008)
@@ -11,7 +11,7 @@
 #define BOOST_FUNCTION_PROLOGUE_HPP
 # include <cassert>
 # include <algorithm>
-# include <functional> // unary_function, binary_function
+# include <boost/config/no_tr1/functional.hpp> // unary_function, binary_function
 # include <boost/throw_exception.hpp>
 # include <boost/config.hpp>
 # include <boost/function/function_base.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