packages/libs/libtorrent/patches/121-fix-socket_set-template.diff
jow a4aadc2469 [packages] libtorrent: update to r1123 (#6624)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@19500 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-02 15:55:20 +00:00

21 lines
845 B
Diff

Index: libtorrent/src/net/socket_set.h
===================================================================
--- libtorrent/src/net/socket_set.h (revision 1121)
+++ libtorrent/src/net/socket_set.h (working copy)
@@ -53,12 +53,12 @@
// 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);