From 287d5ef4d4497748658bc4127061c23b3b8c4421 Mon Sep 17 00:00:00 2001
From: shenxin <shenxin@basic.com>
Date: 星期一, 30 八月 2021 20:15:07 +0800
Subject: [PATCH] add bhome_node.go
---
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