mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2025-12-07 01:06:45 +08:00
for vs2015
This commit is contained in:
parent
731f61a3c1
commit
c49c15f640
@ -101,11 +101,7 @@ constexpr static conn_info_t* info_of(ipc::handle_t h) {
|
||||
}
|
||||
|
||||
constexpr static queue_t* queue_of(ipc::handle_t h) {
|
||||
auto info = info_of(h);
|
||||
if (info == nullptr) {
|
||||
return nullptr;
|
||||
}
|
||||
return &(info->que_);
|
||||
return (info_of(h) == nullptr) ? nullptr : &(info_of(h)->que_);
|
||||
}
|
||||
|
||||
static auto& recv_cache() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user