diff options
| author | Murray Cumming <murrayc@murrayc.com> | 2018-04-10 21:12:00 +0200 |
|---|---|---|
| committer | Murray Cumming <murrayc@murrayc.com> | 2018-04-10 21:12:06 +0200 |
| commit | 12c3addc77ae88def1d5d6de97b69d3b8a4a4269 (patch) | |
| tree | 4b68416f1b5d7058b4cde38848871def46b48dd0 /sigc++/adaptors | |
| parent | 107d09760f152279d87a072a40462983334f3e09 (diff) | |
| download | sigc++-12c3addc77ae88def1d5d6de97b69d3b8a4a4269.tar.gz | |
compose: Remove unnecessary overloads.
Diffstat (limited to 'sigc++/adaptors')
| -rw-r--r-- | sigc++/adaptors/compose.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sigc++/adaptors/compose.h b/sigc++/adaptors/compose.h index f8b21d1..5a3616f 100644 --- a/sigc++/adaptors/compose.h +++ b/sigc++/adaptors/compose.h @@ -62,10 +62,6 @@ namespace sigc template <typename T_setter, typename T_getter> struct compose1_functor : public adapts<T_setter> { - decltype(auto) operator()() { - return std::invoke(this->functor_, get_()); - } - template <typename... T_arg> decltype(auto) operator()(T_arg&&... a) { @@ -98,10 +94,6 @@ struct compose1_functor : public adapts<T_setter> template <typename T_setter, typename T_getter1, typename T_getter2> struct compose2_functor : public adapts<T_setter> { - decltype(auto) operator()() { - return std::invoke(this->functor_, get1_(), get2_()); - } - template <typename... T_arg> decltype(auto) operator()(T_arg... a) { |
