From 458d0f0511acdf181671f13c2b6967d9d95b9316 Mon Sep 17 00:00:00 2001
From: shenxin <shenxin@basic.com>
Date: 星期六, 21 八月 2021 21:54:57 +0800
Subject: [PATCH] add lichao's interface

---
 src/socket/shm_mod_socket.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/socket/shm_mod_socket.h b/src/socket/shm_mod_socket.h
index dc1f210..9890aef 100644
--- a/src/socket/shm_mod_socket.h
+++ b/src/socket/shm_mod_socket.h
@@ -3,7 +3,7 @@
 #include "usg_common.h"
 #include "shm_socket.h"
 #include "shm_allocator.h"
-#include "mem_pool.h"
+#include "shm_mm.h"
 #include "hashtable.h"
 #include "sem_util.h"
 #include "logger_factory.h"
@@ -11,7 +11,7 @@
 #include <set>
 #include "socket_def.h"
 
-#define BUS_HEAD_SIZE (64 + 2 * sizeof(uint32_t))
+#define BUS_HEAD_SIZE sizeof(bus_head_t)
 class BusServerSocket;
 
 struct bus_head_t

--
Gitblit v1.8.0