Explictly construct result_t to fix conflicting return types.

This commit is contained in:
Patrick 2024-08-17 18:08:01 +02:00
parent 2e54844989
commit bb05bb0ae5

View File

@ -198,7 +198,7 @@ private:
{
std::invoke(std::forward<TErrorCallable>(onError));
}
return NULL_OPTIONAL;
return result_t(NULL_OPTIONAL);
}
}
else