From ab898268c8bc493ca9862b2d64f2e1e7d20e5a4c Mon Sep 17 00:00:00 2001 From: lichao <lichao@aiotlink.com> Date: 星期三, 02 六月 2021 13:39:00 +0800 Subject: [PATCH] refactor. --- 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