compile error

This commit is contained in:
mutouyun 2019-01-24 17:57:33 +08:00
parent 5c9a8e0311
commit 2650ff0b0b

View File

@ -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) {