Ticket #52476: patch-src_net_socket_set.diff
File patch-src_net_socket_set.diff, 716 bytes (added by 3add3287 (3add3287), 8 years ago) |
---|
-
src/net/socket_set.h
old new 53 53 54 54 // Propably should rename to EventSet... 55 55 56 class SocketSet : private std::vector<Event*, rak::cacheline_allocator< > > {56 class SocketSet : private std::vector<Event*, rak::cacheline_allocator<Event *> > { 57 57 public: 58 58 typedef uint32_t size_type; 59 59 60 typedef std::vector<Event*, rak::cacheline_allocator< > > base_type;61 typedef std::vector<size_type, rak::cacheline_allocator< > > Table;60 typedef std::vector<Event*, rak::cacheline_allocator<Event *> > base_type; 61 typedef std::vector<size_type, rak::cacheline_allocator<size_type> > Table; 62 62 63 63 static const size_type npos = static_cast<size_type>(-1); 64 64