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
|
||||
|
||||
template <typename Initiation, typename... Args>
|
||||
static
|
||||
#if defined(CTI_DETAIL_ASIO_HAS_EXPLICIT_RET_TYPE_INTEGRATION)
|
||||
return_type
|
||||
#else
|
||||
auto
|
||||
#endif
|
||||
initiate(Initiation initiation, use_cti_t, Args... args) {
|
||||
static auto initiate(Initiation initiation, use_cti_t, Args... args) {
|
||||
return cti::detail::asio::initiate_make_continuable<Signature>{}(
|
||||
[initiation = std::move(initiation),
|
||||
init_args =
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user