From 3f8ae6cf4f03be83f16846af32d73dd89b937c40 Mon Sep 17 00:00:00 2001
From: lichao <lichao@aiotlink.com>
Date: 星期二, 30 三月 2021 15:45:54 +0800
Subject: [PATCH] add dot separated topic partial match; refactor.

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

diff --git a/src/pubsub.h b/src/pubsub.h
index c1f98af..11fa4e4 100644
--- a/src/pubsub.h
+++ b/src/pubsub.h
@@ -40,7 +40,7 @@
     std::unordered_map<std::string, Clients> records_;
 
     bool StopNoLock();
-    void OnMsg(const BHMsg &msg);
+    void OnMsg(MsgI &msg);
 public:
     BusManager(SharedMemory &shm);
     ~BusManager();

--
Gitblit v1.8.0