wzq
2020-08-22 cc6bec3330c29cc29f54d3e3d919d510f0197641
update
2个文件已修改
5 ■■■■■ 已修改文件
src/queue/include/hashtable.h 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/socket/include/dmod_socket.h 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/queue/include/hashtable.h
@@ -2,6 +2,7 @@
#define __HASHTABLE_H__
#include <sys/queue.h>
#include <functional>
#include <set>
#define MAPSIZE 100
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
{
@@ -156,4 +156,4 @@
};
#endif
#endif