From fe3fc0782965de82735012d2e60aabfde207f4d5 Mon Sep 17 00:00:00 2001 From: mutouyun Date: Sun, 7 Apr 2019 17:11:00 +0800 Subject: [PATCH] remove useless code --- src/ipc.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/ipc.cpp b/src/ipc.cpp index 5dedcd3..0920f11 100755 --- a/src/ipc.cpp +++ b/src/ipc.cpp @@ -135,10 +135,6 @@ struct detail_impl { using queue_t = typename queue_generator::queue_t; using conn_info_t = typename queue_generator::conn_info_t; -constexpr static void* head_of(queue_t* que) { - return static_cast(que->elems()); -} - constexpr static conn_info_t* info_of(ipc::handle_t h) { return static_cast(h); }