Commit bbcd12b7 authored by Dominik Charousset's avatar Dominik Charousset

Fix formatting

parent f9561cb6
...@@ -245,7 +245,7 @@ public: ...@@ -245,7 +245,7 @@ public:
} }
int compare(const std_type& x) const noexcept { int compare(const std_type& x) const noexcept {
return str().compare(x); return str().compare(x);
} }
int compare(const cow_string& x) const noexcept { int compare(const cow_string& x) const noexcept {
......
...@@ -1573,7 +1573,6 @@ public: ...@@ -1573,7 +1573,6 @@ public:
CAF_INTRUSIVE_PTR_FRIENDS(prefix_and_tail_observable_impl) CAF_INTRUSIVE_PTR_FRIENDS(prefix_and_tail_observable_impl)
// -- implementation of disposable::impl ------------------------------------- // -- implementation of disposable::impl -------------------------------------
void dispose() override { void dispose() override {
......
...@@ -248,5 +248,4 @@ struct on_error_complete_step { ...@@ -248,5 +248,4 @@ struct on_error_complete_step {
} }
}; };
} // namespace caf::flow } // namespace caf::flow
...@@ -144,7 +144,8 @@ SCENARIO("head_and_tail splits off the first element") { ...@@ -144,7 +144,8 @@ SCENARIO("head_and_tail splits off the first element") {
THEN("the observer of head_and_tail only receives on_complete") { THEN("the observer of head_and_tail only receives on_complete") {
auto inputs = std::vector<int>{}; auto inputs = std::vector<int>{};
auto obs = std::make_shared<test_observer<tuple_t>>(); auto obs = std::make_shared<test_observer<tuple_t>>();
ctx->make_observable() ctx //
->make_observable()
.from_container(inputs) .from_container(inputs)
.head_and_tail() .head_and_tail()
.subscribe(flow::make_observer_from_ptr(obs)); .subscribe(flow::make_observer_from_ptr(obs));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment