mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2025-12-07 01:06:45 +08:00
compile errors
This commit is contained in:
parent
4dfefb03ae
commit
238166bdc1
@ -141,8 +141,8 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
T pop() {
|
T pop() {
|
||||||
return pop(multi_wait_for([this] {
|
return pop(multi_wait_for([que = this] {
|
||||||
return std::make_tuple(&this, 1);
|
return std::make_tuple(&que, 1);
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@ -101,15 +101,15 @@ std::size_t channel::recv_count() const {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool channel::send(void const *data, std::size_t size) {
|
bool channel::send(void const * /*data*/, std::size_t /*size*/) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool channel::send(buff_t const & buff) {
|
bool channel::send(buff_t const & /*buff*/) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool channel::send(std::string const & str) {
|
bool channel::send(std::string const & /*str*/) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -187,7 +187,7 @@ buff_t recv(handle_t const * hs, std::size_t size) {
|
|||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
return updating_recv([&] {
|
return updating_recv([&] {
|
||||||
return std::forward_as_tuple(q_arr, q_arr.size());
|
return std::make_tuple(q_arr.data(), q_arr.size());
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user