mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2025-12-06 16:56:45 +08:00
compile errors
This commit is contained in:
parent
4dfefb03ae
commit
238166bdc1
@ -141,8 +141,8 @@ public:
|
||||
}
|
||||
|
||||
T pop() {
|
||||
return pop(multi_wait_for([this] {
|
||||
return std::make_tuple(&this, 1);
|
||||
return pop(multi_wait_for([que = this] {
|
||||
return std::make_tuple(&que, 1);
|
||||
}));
|
||||
}
|
||||
};
|
||||
|
||||
@ -101,15 +101,15 @@ std::size_t channel::recv_count() const {
|
||||
return 0;
|
||||
}
|
||||
|
||||
bool channel::send(void const *data, std::size_t size) {
|
||||
bool channel::send(void const * /*data*/, std::size_t /*size*/) {
|
||||
return false;
|
||||
}
|
||||
|
||||
bool channel::send(buff_t const & buff) {
|
||||
bool channel::send(buff_t const & /*buff*/) {
|
||||
return false;
|
||||
}
|
||||
|
||||
bool channel::send(std::string const & str) {
|
||||
bool channel::send(std::string const & /*str*/) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@ -187,7 +187,7 @@ buff_t recv(handle_t const * hs, std::size_t size) {
|
||||
return {};
|
||||
}
|
||||
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