mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2025-12-06 16:56:45 +08:00
remove useless code
This commit is contained in:
parent
fe689c9208
commit
fe3fc07829
@ -135,10 +135,6 @@ struct detail_impl {
|
|||||||
using queue_t = typename queue_generator<Policy, data_length>::queue_t;
|
using queue_t = typename queue_generator<Policy, data_length>::queue_t;
|
||||||
using conn_info_t = typename queue_generator<Policy, data_length>::conn_info_t;
|
using conn_info_t = typename queue_generator<Policy, data_length>::conn_info_t;
|
||||||
|
|
||||||
constexpr static void* head_of(queue_t* que) {
|
|
||||||
return static_cast<void*>(que->elems());
|
|
||||||
}
|
|
||||||
|
|
||||||
constexpr static conn_info_t* info_of(ipc::handle_t h) {
|
constexpr static conn_info_t* info_of(ipc::handle_t h) {
|
||||||
return static_cast<conn_info_t*>(h);
|
return static_cast<conn_info_t*>(h);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user