Commit 455d1ec5 authored by Dominik Charousset's avatar Dominik Charousset

Fix build issues on CI

parent db0db507
#include "caf/net/http/v1.hpp" #include "caf/net/http/v1.hpp"
#include <algorithm>
#include <array> #include <array>
#include <cstddef> #include <cstddef>
#include <string_view> #include <string_view>
......
...@@ -195,7 +195,7 @@ void transport::handle_buffered_data() { ...@@ -195,7 +195,7 @@ void transport::handle_buffered_data() {
// Loop until we have drained the buffer as much as we can. // Loop until we have drained the buffer as much as we can.
CAF_ASSERT(min_read_size_ <= max_read_size_); CAF_ASSERT(min_read_size_ <= max_read_size_);
auto switch_to_next_protocol = [this] { auto switch_to_next_protocol = [this] {
assert(next_); CAF_ASSERT(next_);
// Switch to the new protocol and initialize it. // Switch to the new protocol and initialize it.
configure_read(receive_policy::stop()); configure_read(receive_policy::stop());
up_.reset(next_.release()); up_.reset(next_.release());
......
...@@ -46,7 +46,7 @@ error client::start(octet_stream::lower_layer* down) { ...@@ -46,7 +46,7 @@ error client::start(octet_stream::lower_layer* down) {
} }
void client::abort(const error& reason) { void client::abort(const error& reason) {
assert(up_); CAF_ASSERT(up_);
up_->abort(reason); up_->abort(reason);
} }
......
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