From 70fec55c71f707358e6dba1b551d7836e93a5c78 Mon Sep 17 00:00:00 2001
From: lichao <lichao@aiotlink.com>
Date: 星期二, 06 四月 2021 19:30:50 +0800
Subject: [PATCH] refactor.

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

diff --git a/src/pubsub_center.h b/src/pubsub_center.h
index e79dd96..0b00c41 100644
--- a/src/pubsub_center.h
+++ b/src/pubsub_center.h
@@ -34,7 +34,7 @@
 
 public:
 	PubSubCenter(ShmSocket::Shm &shm) :
-	    socket_(shm, &kBHTopicBus, 1000) {}
+	    socket_(shm, &BHTopicBus(), 1000) {}
 	PubSubCenter() :
 	    PubSubCenter(BHomeShm()) {}
 	~PubSubCenter() { Stop(); }

--
Gitblit v1.8.0