mirror of
https://github.com/boostorg/function.git
synced 2025-07-30 21:07:13 +02:00
Remove uses of BOOST_FUNCTION_VOID_RETURN_TYPE
This commit is contained in:
@ -18,7 +18,6 @@
|
|||||||
# pragma warning( disable : 4127 ) // "conditional expression is constant"
|
# pragma warning( disable : 4127 ) // "conditional expression is constant"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define BOOST_FUNCTION_VOID_RETURN_TYPE void
|
|
||||||
#define BOOST_FUNCTION_RETURN(X) X
|
#define BOOST_FUNCTION_RETURN(X) X
|
||||||
|
|
||||||
namespace boost {
|
namespace boost {
|
||||||
@ -46,7 +45,7 @@ namespace boost {
|
|||||||
>
|
>
|
||||||
struct void_function_invoker
|
struct void_function_invoker
|
||||||
{
|
{
|
||||||
static BOOST_FUNCTION_VOID_RETURN_TYPE
|
static void
|
||||||
invoke(function_buffer& function_ptr,
|
invoke(function_buffer& function_ptr,
|
||||||
T... a)
|
T... a)
|
||||||
|
|
||||||
@ -83,7 +82,7 @@ namespace boost {
|
|||||||
>
|
>
|
||||||
struct void_function_obj_invoker
|
struct void_function_obj_invoker
|
||||||
{
|
{
|
||||||
static BOOST_FUNCTION_VOID_RETURN_TYPE
|
static void
|
||||||
invoke(function_buffer& function_obj_ptr,
|
invoke(function_buffer& function_obj_ptr,
|
||||||
T... a)
|
T... a)
|
||||||
|
|
||||||
@ -121,7 +120,7 @@ namespace boost {
|
|||||||
>
|
>
|
||||||
struct void_function_ref_invoker
|
struct void_function_ref_invoker
|
||||||
{
|
{
|
||||||
static BOOST_FUNCTION_VOID_RETURN_TYPE
|
static void
|
||||||
invoke(function_buffer& function_obj_ptr,
|
invoke(function_buffer& function_obj_ptr,
|
||||||
T... a)
|
T... a)
|
||||||
|
|
||||||
@ -158,7 +157,7 @@ namespace boost {
|
|||||||
>
|
>
|
||||||
struct void_member_invoker
|
struct void_member_invoker
|
||||||
{
|
{
|
||||||
static BOOST_FUNCTION_VOID_RETURN_TYPE
|
static void
|
||||||
invoke(function_buffer& function_obj_ptr,
|
invoke(function_buffer& function_obj_ptr,
|
||||||
T... a)
|
T... a)
|
||||||
|
|
||||||
@ -1060,7 +1059,6 @@ public:
|
|||||||
#endif
|
#endif
|
||||||
#undef BOOST_FUNCTION_ARG_TYPE
|
#undef BOOST_FUNCTION_ARG_TYPE
|
||||||
#undef BOOST_FUNCTION_ARG_TYPES
|
#undef BOOST_FUNCTION_ARG_TYPES
|
||||||
#undef BOOST_FUNCTION_VOID_RETURN_TYPE
|
|
||||||
#undef BOOST_FUNCTION_RETURN
|
#undef BOOST_FUNCTION_RETURN
|
||||||
|
|
||||||
#if defined(BOOST_MSVC)
|
#if defined(BOOST_MSVC)
|
||||||
|
Reference in New Issue
Block a user