From 36e6a35a886252516f168b90f7a9a7c1c5177312 Mon Sep 17 00:00:00 2001
From: lichao <lichao@aiotlink.com>
Date: 星期六, 08 五月 2021 15:57:01 +0800
Subject: [PATCH] center alloc node queue; node just find them.

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

diff --git a/src/topic_node.h b/src/topic_node.h
index afce4fc..338a6e3 100644
--- a/src/topic_node.h
+++ b/src/topic_node.h
@@ -122,7 +122,7 @@
 		   eSockSub,
 		   eSockEnd,
 	};
-	std::vector<std::unique_ptr<ShmSocket>> sockets_;
+	std::vector<std::shared_ptr<ShmSocket>> sockets_;
 
 	ShmSocket &SockNode() { return *sockets_[eSockNode]; }
 	ShmSocket &SockPub() { return *sockets_[eSockPub]; }

--
Gitblit v1.8.0