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)