diff options
author | ZINEKS <wutiantong@icloud.com> | 2017-06-05 22:33:57 +0800 |
---|---|---|
committer | Kirk Shoop <kirk.shoop@microsoft.com> | 2017-06-05 07:33:57 -0700 |
commit | a1730f951348b602d5dee0643daafad6a913f7c7 (patch) | |
tree | 081f1d3d94aed114734eb3fd44fc0910552bf8ed /Rx | |
parent | 2caf64951c1505bf7511c72d8c245d929a2aecbc (diff) | |
download | RxCpp-a1730f951348b602d5dee0643daafad6a913f7c7.tar.gz |
Add get_subscription() for subject (#381)
Diffstat (limited to 'Rx')
-rw-r--r-- | Rx/v2/src/rxcpp/subjects/rx-subject.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Rx/v2/src/rxcpp/subjects/rx-subject.hpp b/Rx/v2/src/rxcpp/subjects/rx-subject.hpp index 066f152..a77c0c4 100644 --- a/Rx/v2/src/rxcpp/subjects/rx-subject.hpp +++ b/Rx/v2/src/rxcpp/subjects/rx-subject.hpp @@ -254,6 +254,10 @@ public: return s.has_observers(); } + composite_subscription get_subscription() const { + return s.get_subscription(); + } + subscriber_type get_subscriber() const { return s.get_subscriber(); } |