diff options
author | Grigoriy Chudnov <g.chudnov@gmail.com> | 2016-12-30 23:40:42 +0300 |
---|---|---|
committer | Kirk Shoop <kirk.shoop@microsoft.com> | 2016-12-30 14:47:57 -0800 |
commit | 94dc773fbf1fa6df0e6df58a82de9aab63c26e8c (patch) | |
tree | 6e8bf9f7f57276d50493692c953d29648783db53 /Rx/v2/test | |
parent | 800030070b2daa0085bc9c0d34a975bc2555c5a1 (diff) | |
download | RxCpp-94dc773fbf1fa6df0e6df58a82de9aab63c26e8c.tar.gz |
decouple buffer_with_time_or_count from observable
Diffstat (limited to 'Rx/v2/test')
-rw-r--r-- | Rx/v2/test/operators/buffer.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Rx/v2/test/operators/buffer.cpp b/Rx/v2/test/operators/buffer.cpp index e01e12f..509d9f9 100644 --- a/Rx/v2/test/operators/buffer.cpp +++ b/Rx/v2/test/operators/buffer.cpp @@ -1,6 +1,7 @@ #include "../test.h" #include <rxcpp/operators/rx-buffer_count.hpp> #include <rxcpp/operators/rx-buffer_time.hpp> +#include <rxcpp/operators/rx-buffer_time_count.hpp> #include <rxcpp/operators/rx-take.hpp> SCENARIO("buffer count partial window", "[buffer][operators]"){ @@ -979,9 +980,9 @@ SCENARIO("buffer with time or count, basic", "[buffer_with_time_or_count][operat auto res = w.start( [&]() { return xs - .buffer_with_time_or_count(milliseconds(70), 3, so) + | rxo::buffer_with_time_or_count(milliseconds(70), 3, so) // forget type to workaround lambda deduction bug on msvc 2013 - .as_dynamic(); + | rxo::as_dynamic(); } ); |