|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r66207 - sandbox/function/boost/function
From: dsaritz_at_[hidden]
Date: 2010-10-26 17:09:47
Author: psiha
Date: 2010-10-26 17:09:27 EDT (Tue, 26 Oct 2010)
New Revision: 66207
URL: http://svn.boost.org/trac/boost/changeset/66207
Log:
Fixed two compilation errors.
Text files modified:
sandbox/function/boost/function/function_base.hpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: sandbox/function/boost/function/function_base.hpp
==============================================================================
--- sandbox/function/boost/function/function_base.hpp (original)
+++ sandbox/function/boost/function/function_base.hpp 2010-10-26 17:09:27 EDT (Tue, 26 Oct 2010)
@@ -528,7 +528,7 @@
template <typename Functor>
static void assign( Functor const & functor, function_buffer & out_buffer )
{
- BOOST_ASSERT
+ BOOST_FUNCTION_CLANG_AND_OLD_GCC_BROKEN_STATIC_ASSERT
(
functor_traits<Functor>::allowsPODOptimization &&
functor_traits<Functor>::allowsSmallObjectOptimization
@@ -1654,7 +1654,7 @@
#undef BOOST_FUNCTION_ENABLE_IF_NOT_INTEGRAL
#undef BOOST_FUNCTION_COMPARE_TYPE_ID
#undef BOOST_FUNCTION_ENABLE_IF_FUNCTION
-#undef BOOST_FUNCTION_CLANG_AND_OLD_GCC_BROKEN_STATIC_ASSERT
+//...zzz...required in function_template.hpp #undef BOOST_FUNCTION_CLANG_AND_OLD_GCC_BROKEN_STATIC_ASSERT
#undef BF_VT_REF
#undef BF_VT_DEREF
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