Skip to content

Commit

Permalink
Fix default constructor for flow
Browse files Browse the repository at this point in the history
  • Loading branch information
pfultz2 committed Jun 14, 2015
1 parent e3392dd commit 0ecb8e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fit/flow.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ struct flow_adaptor : detail::flow_kernel<F, FIT_JOIN(flow_adaptor, Fs...)>
typedef FIT_JOIN(flow_adaptor, Fs...) tail;
typedef detail::flow_kernel<F, tail> base;

constexpr flow_adaptor() {}
FIT_INHERIT_DEFAULT(flow_adaptor, base)

template<class X, class... Xs, FIT_ENABLE_IF_CONVERTIBLE(X, F), FIT_ENABLE_IF_CONSTRUCTIBLE(tail, Xs...)>
constexpr flow_adaptor(X&& f1, Xs&& ... fs)
Expand All @@ -110,7 +110,7 @@ template<class F>
struct flow_adaptor<F> : F
{
typedef flow_adaptor fit_rewritable_tag;
constexpr flow_adaptor() {}
FIT_INHERIT_DEFAULT(flow_adaptor, F)

template<class X, FIT_ENABLE_IF_CONVERTIBLE(X, F)>
constexpr flow_adaptor(X&& f1)
Expand Down

0 comments on commit 0ecb8e0

Please sign in to comment.