diff options
author | Kirk Shoop <kirk.shoop@microsoft.com> | 2014-06-26 23:52:53 -0700 |
---|---|---|
committer | Kirk Shoop <kirk.shoop@microsoft.com> | 2014-06-26 23:53:33 -0700 |
commit | 284476f7d0f174631643c951692b992a22612365 (patch) | |
tree | 47646628f0380cdda49b9ae4d5adf0251eb326eb | |
parent | 436a92af42719982b8ef1ad0f657e5eb9315aaef (diff) | |
download | RxCpp-284476f7d0f174631643c951692b992a22612365.tar.gz |
fix bug in map
-rw-r--r-- | Rx/v2/src/rxcpp/operators/rx-map.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Rx/v2/src/rxcpp/operators/rx-map.hpp b/Rx/v2/src/rxcpp/operators/rx-map.hpp index eda923a..6719f1c 100644 --- a/Rx/v2/src/rxcpp/operators/rx-map.hpp +++ b/Rx/v2/src/rxcpp/operators/rx-map.hpp @@ -27,10 +27,10 @@ struct map } template<class Subscriber> - struct map_observer : public observer_base<decltype((*(Selector*)nullptr)(*(source_value_type*)nullptr))> + struct map_observer : public observer_base<decltype((*(select_type*)nullptr)(*(source_value_type*)nullptr))> { typedef map_observer<Subscriber> this_type; - typedef observer_base<decltype((*(Selector*)nullptr)(*(source_value_type*)nullptr))> base_type; + typedef observer_base<decltype((*(select_type*)nullptr)(*(source_value_type*)nullptr))> base_type; typedef typename base_type::value_type value_type; typedef typename std::decay<Subscriber>::type dest_type; typedef observer<value_type, this_type> observer_type; |