[*] MSVC cried about this. Are constexprs not evaluated in lambdas?
This commit is contained in:
parent
d4ec3749e7
commit
2082a501ef
@ -128,15 +128,6 @@ namespace Aurora::Async
|
||||
pin->secretContext_.opt = &pin->resultValue_;
|
||||
if constexpr (IsCallbackPtr)
|
||||
{
|
||||
|
||||
if constexpr (AuIsBaseOfTemplate<std::function, decltype(pin->callback->onSuccess)>::value)
|
||||
{
|
||||
if (!pin->callback->onSuccess)
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
pin->callback->onSuccess(pin->input, pin->resultValue_);
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user