Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r52789 - sandbox/boost0x/boost/function
From: gordon_at_[hidden]
Date: 2009-05-05 19:32:20


Author: gordon.woodhull
Date: 2009-05-05 19:32:20 EDT (Tue, 05 May 2009)
New Revision: 52789
URL: http://svn.boost.org/trac/boost/changeset/52789

Log:
get rid of return macro II
Text files modified:
   sandbox/boost0x/boost/function/function_variadic_invoker.hpp | 8 ++++----
   1 files changed, 4 insertions(+), 4 deletions(-)

Modified: sandbox/boost0x/boost/function/function_variadic_invoker.hpp
==============================================================================
--- sandbox/boost0x/boost/function/function_variadic_invoker.hpp (original)
+++ sandbox/boost0x/boost/function/function_variadic_invoker.hpp 2009-05-05 19:32:20 EDT (Tue, 05 May 2009)
@@ -27,7 +27,7 @@
 
          {
            FunctionPtr f = reinterpret_cast<FunctionPtr>(function_ptr.func_ptr);
- return (f(args...));
+ (f(args...));
          }
       };
 
@@ -66,7 +66,7 @@
              f = reinterpret_cast<FunctionObj*>(&function_obj_ptr.data);
            else
              f = reinterpret_cast<FunctionObj*>(function_obj_ptr.obj_ptr);
- return ((*f)(args...));
+ ((*f)(args...));
          }
       };
 
@@ -99,7 +99,7 @@
          {
            FunctionObj* f =
              reinterpret_cast<FunctionObj*>(function_obj_ptr.obj_ptr);
- return ((*f)(args...));
+ ((*f)(args...));
          }
       };
 
@@ -133,7 +133,7 @@
          {
            MemberPtr* f =
              reinterpret_cast<MemberPtr*>(&function_obj_ptr.data);
- return (boost::mem_fn(*f)(args...));
+ (boost::mem_fn(*f)(args...));
          }
       };
 


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