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  
    5353
    5454// Propably should rename to EventSet...
    5555
    56 class SocketSet : private std::vector<Event*, rak::cacheline_allocator<> > {
     56class SocketSet : private std::vector<Event*, rak::cacheline_allocator<Event *> > {
    5757public:
    5858  typedef uint32_t    size_type;
    5959
    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;
    6262
    6363  static const size_type npos = static_cast<size_type>(-1);
    6464