diff options
author | Grigoriy Chudnov <g.chudnov@gmail.com> | 2017-01-07 00:10:24 +0300 |
---|---|---|
committer | Kirk Shoop <kirk.shoop@microsoft.com> | 2017-01-06 14:44:03 -0800 |
commit | 36b3d8c855002fbfb4e1b17258bab4a0702d6e54 (patch) | |
tree | 28530e1e5fcb023b2599d5b8a7af320731e495f2 /Rx/v2/test | |
parent | b343f852570a1808c083cc8f6901e6febb46d892 (diff) | |
download | RxCpp-36b3d8c855002fbfb4e1b17258bab4a0702d6e54.tar.gz |
decouple take_last from observable
Diffstat (limited to 'Rx/v2/test')
-rw-r--r-- | Rx/v2/test/operators/take_last.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Rx/v2/test/operators/take_last.cpp b/Rx/v2/test/operators/take_last.cpp index 82d8696..76228f0 100644 --- a/Rx/v2/test/operators/take_last.cpp +++ b/Rx/v2/test/operators/take_last.cpp @@ -1,4 +1,5 @@ #include "../test.h" +#include <rxcpp/operators/rx-take_last.hpp> SCENARIO("take last 0", "[take_last][operators]"){ GIVEN("a source"){ @@ -20,9 +21,9 @@ SCENARIO("take last 0", "[take_last][operators]"){ auto res = w.start( [xs]() { return xs - .take_last(0) + | rxo::take_last(0) // forget type to workaround lambda deduction bug on msvc 2013 - .as_dynamic(); + | rxo::as_dynamic(); } ); |