use SortedSet instead of SortedSets

This commit is contained in:
hyzboy 2024-11-26 00:43:33 +08:00
parent 82b6b346dd
commit 29c88265d4

View File

@ -1,7 +1,7 @@
#include"SocketManageBase.h" #include"SocketManageBase.h"
#include<hgl/network/Socket.h> #include<hgl/network/Socket.h>
#include<hgl/Time.h> #include<hgl/Time.h>
#include<hgl/type/SortedSets.h> #include<hgl/type/SortedSet.h>
#include<hgl/log/LogInfo.h> #include<hgl/log/LogInfo.h>
namespace hgl namespace hgl
@ -17,7 +17,7 @@ namespace hgl
int max_fd; int max_fd;
SortedSets<int> sock_id_list; SortedSet<int> sock_id_list;
fd_set fd_sock_list; //完整的sock列表 fd_set fd_sock_list; //完整的sock列表