summaryrefslogtreecommitdiff
path: root/Rx/v2/src/rxcpp/rx-operators.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'Rx/v2/src/rxcpp/rx-operators.hpp')
-rw-r--r--Rx/v2/src/rxcpp/rx-operators.hpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/Rx/v2/src/rxcpp/rx-operators.hpp b/Rx/v2/src/rxcpp/rx-operators.hpp
index 4fbf34f..086315b 100644
--- a/Rx/v2/src/rxcpp/rx-operators.hpp
+++ b/Rx/v2/src/rxcpp/rx-operators.hpp
@@ -98,7 +98,6 @@ public:
#include "operators/rx-connect_forever.hpp"
#include "operators/rx-lift.hpp"
#include "operators/rx-multicast.hpp"
-#include "operators/rx-observe_on.hpp"
#include "operators/rx-publish.hpp"
#include "operators/rx-ref_count.hpp"
#include "operators/rx-replay.hpp"
@@ -258,6 +257,13 @@ struct merge_tag {
};
};
+struct observe_on_tag {
+ template<class Included>
+ struct include_header{
+ static_assert(Included::value, "missing include: please #include <rxcpp/operators/rx-observe_on.hpp>");
+ };
+};
+
struct on_error_resume_next_tag {
template<class Included>
struct include_header{