2011-04-13 22:07:14 +00:00
|
|
|
Index: libtorrent-0.12.6_r1209/src/net/socket_set.h
|
|
|
|
===================================================================
|
|
|
|
--- libtorrent-0.12.6_r1209.orig/src/net/socket_set.h 2011-02-12 13:20:09.000000000 +0100
|
|
|
|
+++ libtorrent-0.12.6_r1209/src/net/socket_set.h 2011-04-13 16:33:38.567388959 +0200
|
|
|
|
@@ -53,12 +53,12 @@
|
2010-02-02 15:55:20 +00:00
|
|
|
|
|
|
|
// Propably should rename to EventSet...
|
|
|
|
|
|
|
|
-class SocketSet : private std::vector<Event*, rak::cacheline_allocator<> > {
|
|
|
|
+class SocketSet : private std::vector<Event*, rak::cacheline_allocator<Event*> > {
|
|
|
|
public:
|
|
|
|
typedef uint32_t size_type;
|
|
|
|
|
|
|
|
- typedef std::vector<Event*, rak::cacheline_allocator<> > base_type;
|
|
|
|
- typedef std::vector<size_type, rak::cacheline_allocator<> > Table;
|
|
|
|
+ typedef std::vector<Event*, rak::cacheline_allocator<Event*> > base_type;
|
|
|
|
+ typedef std::vector<size_type, rak::cacheline_allocator<size_type> > Table;
|
|
|
|
|
|
|
|
static const size_type npos = static_cast<size_type>(-1);
|
|
|
|
|