From 0bc72d004b08b6cac005931787f43c68dace7685 Mon Sep 17 00:00:00 2001
From: lichao <lichao@aiotlink.com>
Date: 星期五, 02 四月 2021 16:25:39 +0800
Subject: [PATCH] refactor pub/sub center.

---
 src/pubsub_center.h |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/src/pubsub_center.h b/src/pubsub_center.h
index aa9db68..af3a2f4 100644
--- a/src/pubsub_center.h
+++ b/src/pubsub_center.h
@@ -37,11 +37,6 @@
 	SocketBus socket_;
 	ShmSocket::Shm &shm() { return socket_.shm(); }
 
-	std::mutex mutex_;
-	typedef std::set<MQId> Clients;
-	std::unordered_map<Topic, Clients> records_;
-	bool Find1(const Topic &topic);
-
 public:
 	PubSubCenter(ShmSocket::Shm &shm) :
 	    socket_(shm) {}

--
Gitblit v1.8.0