From 68d23225a38a35f1325eb39fa4ed5a005d5de473 Mon Sep 17 00:00:00 2001
From: fujuntang <fujuntang@aiot.com>
Date: 星期三, 11 八月 2021 09:50:20 +0800
Subject: [PATCH] fix from 3.1 first commit

---
 src/shm/shm_allocator.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/shm/shm_allocator.h b/src/shm/shm_allocator.h
index 084a678..01f1ef3 100644
--- a/src/shm/shm_allocator.h
+++ b/src/shm/shm_allocator.h
@@ -1,7 +1,7 @@
 #ifndef __SHM_ALLOCATOR_H__
 #define __SHM_ALLOCATOR_H__
 #include "usg_common.h"
-#include "mem_pool.h"
+#include "mm.h"
 #include <new>
 #include <cstdlib> // for exit()
 #include <climits> // for UNIX_MAX
@@ -67,12 +67,12 @@
   public:
     static void *allocate (size_t size) {
       return mm_malloc(size);
-      // return mem_pool_malloc(size);
+      // return shm_mm_malloc(size);
     }
 
     static void deallocate (void *ptr) {
       return mm_free(ptr);
-      // return mem_pool_free(ptr);
+      // return shm_mm_free(ptr);
     }
 };
 

--
Gitblit v1.8.0