Skip to content

Commit

Permalink
Ability to use signal with const-ref args in observe method
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanPinezhaninov committed Jan 23, 2020
1 parent 5ca0304 commit 8c0caf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asyncfuture.h
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ struct signal_traits<R (C::*)()> {

template <typename R, typename C, typename ARG0>
struct signal_traits<R (C::*)(ARG0)> {
typedef ARG0 result_type;
typedef typename std::decay<ARG0>::type result_type;
};

template <typename T>
Expand Down

0 comments on commit 8c0caf9

Please sign in to comment.