From 00dba6082e245d917cb7d6eed3c627211ff41cd7 Mon Sep 17 00:00:00 2001
From: wangzhengquan <wangzhengquan85@126.com>
Date: 星期五, 25 九月 2020 15:53:21 +0800
Subject: [PATCH] update

---
 src/socket/include/dmod_socket.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/socket/include/dmod_socket.h b/src/socket/include/dmod_socket.h
index e34e4cc..ecf92e7 100644
--- a/src/socket/include/dmod_socket.h
+++ b/src/socket/include/dmod_socket.h
@@ -18,7 +18,7 @@
 #define BUS_MAP_KEY 1
 //typedef std::basic_string<char, std::char_traits<char>, SHM_STL_Allocator<char> > SHMString;
 typedef std::set<int,  std::less<int>, SHM_STL_Allocator<int> > SHMKeySet;
-typedef std::map<SHMString, SHMKeySet *, std::less<SHMString>, SHM_STL_Allocator<std::pair<SHMString, SHMKeySet *> > > SHMTopicSubMap;
+typedef std::map<SHMString, SHMKeySet *, std::less<SHMString>, SHM_STL_Allocator<std::pair<const SHMString, SHMKeySet *> > > SHMTopicSubMap;
 
 enum socket_mod_t
 {
@@ -127,7 +127,7 @@
 
 	 /**
 	 * 鍙栨秷璁㈤槄鎸囧畾涓婚
-	 * @topic 涓婚
+ 	 * @topic 涓婚,涓婚涓虹┖鏃跺彇娑堝叏閮ㄨ闃�
 	 * @size 涓婚闀垮害
 	 * @port 鎬荤嚎绔彛
 	 */
@@ -156,4 +156,4 @@
 
 };
 
-#endif
\ No newline at end of file
+#endif

--
Gitblit v1.8.0