AdcNetServiceASIOBase: delete move constructor (asio::streambuf is not
movable), acceptor_t.asyncAccept completion token has signature: void(std::error_code, std::shared_ptr<netservice_t>)
This commit is contained in:
@@ -109,8 +109,9 @@ struct AdcStopSeqSessionProto {
|
||||
// the second one - a view of the stop sequence
|
||||
|
||||
if constexpr (std::ranges::viewable_range<R>) {
|
||||
auto res = std::array{std::ranges::subrange(r.begin(), r.end()),
|
||||
std::ranges::subrange(STOP_SEQ.begin(), STOP_SEQ.end())};
|
||||
auto res = std::array{std::span(r.begin(), r.end()), std::span(STOP_SEQ.begin(), STOP_SEQ.end())};
|
||||
// auto res = std::array{std::ranges::subrange(r.begin(), r.end()),
|
||||
// std::ranges::subrange(STOP_SEQ.begin(), STOP_SEQ.end())};
|
||||
|
||||
return res;
|
||||
} else { // return a copy of input range with appended stop sequence
|
||||
|
||||
Reference in New Issue
Block a user