From d89ff0ad812cdf178b911843bc3e8c04b2f00845 Mon Sep 17 00:00:00 2001
From: lichao <lichao@aiotlink.com>
Date: 星期四, 03 六月 2021 10:29:51 +0800
Subject: [PATCH] center remove old shm on start.

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

diff --git a/src/shm_msg_queue.h b/src/shm_msg_queue.h
index e6c104b..6a4d7a4 100644
--- a/src/shm_msg_queue.h
+++ b/src/shm_msg_queue.h
@@ -29,7 +29,7 @@
 {
 public:
 	typedef int64_t RawData;
-	typedef ShmObject<SharedQ63> Shmq;
+	typedef NamedShmObject<SharedQ63> Shmq;
 	typedef Shmq::Data Queue;
 	typedef Shmq::ShmType ShmType;
 	typedef uint64_t MQId;

--
Gitblit v1.8.0