From 2c73aac1fe62495d8c863a92a34d191cf8e87fc0 Mon Sep 17 00:00:00 2001 From: lichao <lichao@aiotlink.com> Date: 星期一, 07 六月 2021 10:11:25 +0800 Subject: [PATCH] add readme. --- src/msg.h | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/src/msg.h b/src/msg.h index f0ed840..ac42e2a 100644 --- a/src/msg.h +++ b/src/msg.h @@ -22,8 +22,6 @@ #include "proto.h" #include "shm.h" #include <atomic> -#include <boost/interprocess/offset_ptr.hpp> -#include <functional> #include <stdint.h> class ShmSocket; @@ -91,8 +89,6 @@ private: Meta *meta() const { return get<Meta>() - 1; } - - typedef std::function<void(void *p, int len)> ToArray; template <class Body> void *Pack(const BHMsgHead &head, const uint32_t head_len, const Body &body, const uint32_t body_len) -- Gitblit v1.8.0