From 3e9f5b869dd32441fdd3d77091cb33ef4301f244 Mon Sep 17 00:00:00 2001 From: lichao <lichao@aiotlink.com> Date: 星期二, 06 四月 2021 20:26:20 +0800 Subject: [PATCH] use BHCenter. --- 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 0b00c41..f81fa0e 100644 --- a/src/pubsub_center.h +++ b/src/pubsub_center.h @@ -34,7 +34,7 @@ public: PubSubCenter(ShmSocket::Shm &shm) : - socket_(shm, &BHTopicBus(), 1000) {} + socket_(shm, &BHTopicBusAddress(), 1000) {} PubSubCenter() : PubSubCenter(BHomeShm()) {} ~PubSubCenter() { Stop(); } -- Gitblit v1.8.0