From c28cdf2fbf1565709b359c9cca6c5e29d9592dce Mon Sep 17 00:00:00 2001
From: lichao <lichao@aiotlink.com>
Date: 星期五, 02 四月 2021 15:51:20 +0800
Subject: [PATCH] typedef Topic.

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

diff --git a/src/defs.h b/src/defs.h
index db73634..dfb00ee 100644
--- a/src/defs.h
+++ b/src/defs.h
@@ -21,6 +21,7 @@
 
 #include <boost/uuid/uuid.hpp>
 #include <boost/uuid/uuid_generators.hpp>
+#include <string>
 
 typedef boost::uuids::uuid MQId;
 
@@ -34,6 +35,7 @@
 } // namespace bhome_shm
 
 bhome_shm::SharedMemory &BHomeShm();
+typedef std::string Topic;
 
 //TODO center can check shm for previous crash.
 

--
Gitblit v1.8.0