mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Allow selective enabling of async future returns
This commit is contained in:
@@ -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