Skip to content

Commit

Permalink
Use sfinae returns
Browse files Browse the repository at this point in the history
  • Loading branch information
pfultz2 committed Sep 28, 2015
1 parent 67c1dde commit e8dc67d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fit/decorate.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ struct decorator_invoke

template<class... Ts>
constexpr FIT_SFINAE_RESULT(const D&, id_<const T&>, id_<const F&>, id_<Ts>...)
operator()(Ts&&... xs) const FIT_RETURNS
operator()(Ts&&... xs) const FIT_SFINAE_RETURNS
(
FIT_MANGLE_CAST(const D&)(FIT_CONST_THIS->get_decorator(xs...))(
FIT_MANGLE_CAST(const T&)(FIT_CONST_THIS->get_data(xs...)),
Expand Down

0 comments on commit e8dc67d

Please sign in to comment.