diff options
author | Grigoriy Chudnov <g.chudnov@gmail.com> | 2017-01-05 00:28:28 +0300 |
---|---|---|
committer | Kirk Shoop <kirk.shoop@microsoft.com> | 2017-01-04 14:37:51 -0800 |
commit | 4b22ef4d55a93071be7313440ef6cb75455daa08 (patch) | |
tree | 0b06449907b529d16b285ae3a1ea0ce99ce18143 /Rx/v2/test | |
parent | 8baebf74d8fd65fcfc71d99da8ae2f342dfd565e (diff) | |
download | RxCpp-4b22ef4d55a93071be7313440ef6cb75455daa08.tar.gz |
decouple sample_with_time from observable
Diffstat (limited to 'Rx/v2/test')
-rw-r--r-- | Rx/v2/test/operators/sample.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Rx/v2/test/operators/sample.cpp b/Rx/v2/test/operators/sample.cpp index 5dfc007..7c49ac3 100644 --- a/Rx/v2/test/operators/sample.cpp +++ b/Rx/v2/test/operators/sample.cpp @@ -1,4 +1,5 @@ #include "../test.h" +#include "rxcpp/operators/rx-sample_time.hpp" SCENARIO("sample with time, error", "[sample_with_time][operators]"){ GIVEN("1 hot observable of ints."){ @@ -27,8 +28,8 @@ SCENARIO("sample with time, error", "[sample_with_time][operators]"){ auto res = w.start( [&]() { return xs - .sample_with_time(milliseconds(100), so) - .as_dynamic(); + | rxo::sample_with_time(milliseconds(100), so) + | rxo::as_dynamic(); } ); |