forked from boostorg/beast
Allow selective enabling of async future returns
This commit is contained in:
1 parent
7333d13dd4
commit
22b4e17fad
4 files changed
+12
-11
No files matched your search
@@ -66,9 +66,10 @@
|
||||
#endif
|
||||
|
||||
#if ! BEAST_ASIO_HAS_FUTURE_RETURNS
|
||||
# define BOOST_ASIO_INITFN_RESULT_TYPE(expr,val) void
|
||||
# define BEAST_ASIO_INITFN_RESULT_TYPE(expr,val) void
|
||||
# define BEAST_ASIO_INITFN_RESULT_TYPE_MEMBER(expr,val) void
|
||||
#else
|
||||
# define BEAST_ASIO_INITFN_RESULT_TYPE(expr,val) BOOST_ASIO_INITFN_RESULT_TYPE(expr,val)
|
||||
# if defined(GENERATING_DOCUMENTATION)
|
||||
# define BEAST_ASIO_INITFN_RESULT_TYPE_MEMBER(h, sig) \
|
||||
void_or_deduced
|
||||
|
||||
Reference in new issue
Block a user