diff options
Diffstat (limited to 'Rx/v2/examples/doxygen/create.cpp')
-rw-r--r-- | Rx/v2/examples/doxygen/create.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Rx/v2/examples/doxygen/create.cpp b/Rx/v2/examples/doxygen/create.cpp index c2886c2..1f707c6 100644 --- a/Rx/v2/examples/doxygen/create.cpp +++ b/Rx/v2/examples/doxygen/create.cpp @@ -90,8 +90,8 @@ SCENARIO("Create great code"){ [](int v){ printf("OnNext: %d\n", v); }, - [](rxcpp::error_ptr ep){ - printf("OnError: %s\n", rxu::what(ep)); + [](rxcpp::util::error_ptr ep){ + printf("OnError: %s\n", rxcpp::util::what(ep).c_str()); }, [](){ printf("OnCompleted\n"); |