5f05a363e8
git-svn-id: svn://svn.openwrt.org/openwrt/packages@19650 3c298f89-4303-0410-b956-a3cf2f4a3e73
19 lines
709 B
Diff
19 lines
709 B
Diff
--- a/src/net/socket_set.h
|
|
+++ b/src/net/socket_set.h
|
|
@@ -53,12 +53,12 @@ namespace torrent {
|
|
|
|
// 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);
|
|
|