diff options
author | Joe2018 <joe_2018@Outlook.com> | 2019-07-15 12:08:23 +0800 |
---|---|---|
committer | Kirk Shoop <kirk.shoop@gmail.com> | 2019-08-01 08:01:16 -0700 |
commit | b6300193006fda90fc6dea4f52320a61c8cfe0b7 (patch) | |
tree | 7b44c7627d6d60012ca324af35e9aa84eae126e5 | |
parent | f38fb8e3c30b01b07c57e08039b2942f1685224d (diff) | |
download | platform_external_Reactive-Extensions_RxCpp-b6300193006fda90fc6dea4f52320a61c8cfe0b7.tar.gz platform_external_Reactive-Extensions_RxCpp-b6300193006fda90fc6dea4f52320a61c8cfe0b7.tar.bz2 platform_external_Reactive-Extensions_RxCpp-b6300193006fda90fc6dea4f52320a61c8cfe0b7.zip |
removed constexpr to support older VC compilers.
-rw-r--r-- | Rx/v2/src/rxcpp/operators/rx-ref_count.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Rx/v2/src/rxcpp/operators/rx-ref_count.hpp b/Rx/v2/src/rxcpp/operators/rx-ref_count.hpp index b68315d..1ce9a40 100644 --- a/Rx/v2/src/rxcpp/operators/rx-ref_count.hpp +++ b/Rx/v2/src/rxcpp/operators/rx-ref_count.hpp @@ -90,7 +90,8 @@ struct ref_count : public operator_base<T> // ref_count() == false // ref_count(other) == true using has_observable_t = rxu::negation<std::is_same<void, Observable>>; - static constexpr bool has_observable_v = has_observable_t::value; + // removed constexpr to support older VC compilers + static /*constexpr */ const bool has_observable_v = has_observable_t::value; struct ref_count_state : public std::enable_shared_from_this<ref_count_state>, public ref_count_state_base<ConnectableObservable, Observable> |