diff --git a/fluent/Continuable.h b/fluent/Continuable.h index 14897a3..480bc03 100644 --- a/fluent/Continuable.h +++ b/fluent/Continuable.h @@ -153,12 +153,13 @@ using Continuable = detail::_ContinuableImpl< namespace detail { - template + template struct ContinuableFactory; - template - struct ContinuableFactory<_FTy, _RTy, ::fu::identity&&>> + template + struct ContinuableFactory<_RTy, ::fu::identity&&>> { + template static auto CreateFrom(_FTy&& functional) -> Continuable<_ATy...> { @@ -169,7 +170,7 @@ namespace detail template using continuable_factory_t = ContinuableFactory< - _FTy, ::fu::return_type_of_t<_FTy>, ::fu::argument_type_of_t<_FTy>>; + ::fu::return_type_of_t<_FTy>, ::fu::argument_type_of_t<_FTy>>; } // detail