Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r66231 - sandbox/function/boost/function
From: dsaritz_at_[hidden]
Date: 2010-10-28 10:27:19


Author: psiha
Date: 2010-10-28 10:27:18 EDT (Thu, 28 Oct 2010)
New Revision: 66231
URL: http://svn.boost.org/trac/boost/changeset/66231

Log:
Fixed a few real dumb compilatio errors.
Text files modified:
   sandbox/function/boost/function/function_base.hpp | 6 +++---
   1 files changed, 3 insertions(+), 3 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-28 10:27:18 EDT (Thu, 28 Oct 2010)
@@ -1588,9 +1588,9 @@
         // (28.10.2010.) (Domagoj Saric)
         BF_ASSUME( f != 0 );
         BF_ASSUME( f->get_pointer() != 0 );
- return is_base_of<function_base, Function>::value
- ? return ( f == 0 )
- : return has_empty_target( f->get_pointer() );
+ return is_base_of<function_base, FunctionObj>::value
+ ? ( f == 0 )
+ : has_empty_target( f->get_pointer() );
     }
 
     template <class FunctionPtr>


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