summaryrefslogtreecommitdiff
path: root/Rx/v2/src/rxcpp/operators/rx-map.hpp
diff options
context:
space:
mode:
authorKirk Shoop <kirk.shoop@microsoft.com>2014-06-26 23:52:53 -0700
committerKirk Shoop <kirk.shoop@microsoft.com>2014-06-26 23:53:33 -0700
commit284476f7d0f174631643c951692b992a22612365 (patch)
tree47646628f0380cdda49b9ae4d5adf0251eb326eb /Rx/v2/src/rxcpp/operators/rx-map.hpp
parent436a92af42719982b8ef1ad0f657e5eb9315aaef (diff)
downloadRxCpp-284476f7d0f174631643c951692b992a22612365.tar.gz
fix bug in map
Diffstat (limited to 'Rx/v2/src/rxcpp/operators/rx-map.hpp')
-rw-r--r--Rx/v2/src/rxcpp/operators/rx-map.hpp4
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;