Skip to content

Commit

Permalink
Merge pull request #21 from pfultz2/reveal_id
Browse files Browse the repository at this point in the history
Use actual type for identity to avoid references
  • Loading branch information
pfultz2 committed Aug 30, 2015
2 parents 11e51b0 + 1ea7f0a commit c6ccf38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fit/reveal.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ struct reveal_failure
>
constexpr auto operator()(Ts&&... xs) const ->
#if FIT_HAS_TEMPLATE_ALIAS
typename apply_failure<Failure, Ts...>::template apply<decltype(identity)>;
typename apply_failure<Failure, Ts...>::template apply<fit::detail::identity_base>;
#else
decltype(apply_failure<Failure, Ts...>::apply(identity));
#endif
Expand Down

0 comments on commit c6ccf38

Please sign in to comment.