From 2650ff0b0bb2aeddc543a4d7eda46450ecad5cf0 Mon Sep 17 00:00:00 2001 From: mutouyun Date: Thu, 24 Jan 2019 17:57:33 +0800 Subject: [PATCH] compile error --- src/ipc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ipc.cpp b/src/ipc.cpp index 48b4b34..44b6773 100644 --- a/src/ipc.cpp +++ b/src/ipc.cpp @@ -123,7 +123,7 @@ static void clear_recv(ipc::handle_t h) { if (head == nullptr) { return; } - std::memset(head, 0, sizeof(queue_t::elems_t)); + std::memset(head, 0, sizeof(typename queue_t::elems_t)); } static void clear_recv(char const * name) {