From 8ec1d776751f62c43335d36c3427dc1ab2d84a61 Mon Sep 17 00:00:00 2001
From: wangzhengquan <wangzhengquan85@126.com>
Date: 星期六, 25 七月 2020 13:52:06 +0800
Subject: [PATCH] commit

---
 src/queue/include/shm_allocator.h |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/src/queue/include/shm_allocator.h b/src/queue/include/shm_allocator.h
index 023bc9d..ae94a9c 100644
--- a/src/queue/include/shm_allocator.h
+++ b/src/queue/include/shm_allocator.h
@@ -66,12 +66,10 @@
 class SHM_Allocator {
   public:
     static void *allocate (size_t size) {
-       printf("shm_allocator malloc\n");
       return mem_pool_malloc(size);
     }
 
     static void deallocate (void *ptr) {
-      printf("shm_allocator free\n");
       return mem_pool_free(ptr);
     }
 };
@@ -80,12 +78,10 @@
 class DM_Allocator {
   public:
     static void *allocate (size_t size) {
-      printf("dm_allocator malloc\n");
       return malloc(size);
     }
 
     static void deallocate (void *ptr) {
-      printf("dm_allocator free\n");
       return free(ptr);
     }
 };

--
Gitblit v1.8.0