From 11f6c600e55ca5677f93624efe44d2605cdd908d Mon Sep 17 00:00:00 2001
From: lichao <lichao@aiotlink.com>
Date: 星期五, 21 五月 2021 20:18:38 +0800
Subject: [PATCH] reserve #,@ prefix for internal proc id and topic.

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

diff --git a/src/shm_msg_queue.h b/src/shm_msg_queue.h
index de60fde..6d922aa 100644
--- a/src/shm_msg_queue.h
+++ b/src/shm_msg_queue.h
@@ -27,7 +27,7 @@
 
 #define BH_USE_ATOMIC_Q
 
-class ShmMsgQueue : public StaticDataRef<std::atomic<uint64_t>, ShmMsgQueue>
+class ShmMsgQueue
 {
 public:
 	typedef int64_t RawData;
@@ -45,8 +45,6 @@
 	typedef Shmq::Data Queue;
 	typedef Shmq::ShmType ShmType;
 	typedef uint64_t MQId;
-
-	static MQId NewId();
 
 	ShmMsgQueue(ShmType &segment, const MQId id, const int len);
 	ShmMsgQueue(ShmType &segment, const bool create_or_else_find, const MQId id, const int len);

--
Gitblit v1.8.0