mirror of
https://github.com/Naios/continuable.git
synced 2025-12-06 16:56:44 +08:00
remove unnecessary macro guard for auto return type
This commit is contained in:
parent
36b3a3040c
commit
4f220df1d7
@ -51,13 +51,7 @@ public:
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
template <typename Initiation, typename... Args>
|
template <typename Initiation, typename... Args>
|
||||||
static
|
static auto initiate(Initiation initiation, use_cti_t, Args... args) {
|
||||||
#if defined(CTI_DETAIL_ASIO_HAS_EXPLICIT_RET_TYPE_INTEGRATION)
|
|
||||||
return_type
|
|
||||||
#else
|
|
||||||
auto
|
|
||||||
#endif
|
|
||||||
initiate(Initiation initiation, use_cti_t, Args... args) {
|
|
||||||
return cti::detail::asio::initiate_make_continuable<Signature>{}(
|
return cti::detail::asio::initiate_make_continuable<Signature>{}(
|
||||||
[initiation = std::move(initiation),
|
[initiation = std::move(initiation),
|
||||||
init_args =
|
init_args =
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user