|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r52788 - sandbox/boost0x/boost/function
From: gordon_at_[hidden]
Date: 2009-05-05 19:29:00
Author: gordon.woodhull
Date: 2009-05-05 19:28:59 EDT (Tue, 05 May 2009)
New Revision: 52788
URL: http://svn.boost.org/trac/boost/changeset/52788
Log:
get rid of return macro
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:28:59 EDT (Tue, 05 May 2009)
@@ -27,7 +27,7 @@
{
FunctionPtr f = reinterpret_cast<FunctionPtr>(function_ptr.func_ptr);
- BOOST_FUNCTION_RETURN(f(args...));
+ return (f(args...));
}
};
@@ -66,7 +66,7 @@
f = reinterpret_cast<FunctionObj*>(&function_obj_ptr.data);
else
f = reinterpret_cast<FunctionObj*>(function_obj_ptr.obj_ptr);
- BOOST_FUNCTION_RETURN((*f)(args...));
+ return ((*f)(args...));
}
};
@@ -99,7 +99,7 @@
{
FunctionObj* f =
reinterpret_cast<FunctionObj*>(function_obj_ptr.obj_ptr);
- BOOST_FUNCTION_RETURN((*f)(args...));
+ return ((*f)(args...));
}
};
@@ -133,7 +133,7 @@
{
MemberPtr* f =
reinterpret_cast<MemberPtr*>(&function_obj_ptr.data);
- BOOST_FUNCTION_RETURN(boost::mem_fn(*f)(args...));
+ return (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