From f5e89fae4ce9375020bc5d9985eea0522de01b3a Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Thu, 14 Jun 2012 05:38:56 +0000 Subject: [PATCH] fix msvc 2003 build issue --- src/torrent_handle.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/torrent_handle.cpp b/src/torrent_handle.cpp index 3e32ec99b..ffe3ff86f 100644 --- a/src/torrent_handle.cpp +++ b/src/torrent_handle.cpp @@ -234,7 +234,7 @@ namespace libtorrent session_impl& ses = t->session(); \ type r; \ mutex::scoped_lock l(ses.mut); \ - ses.m_io_service.post(boost::bind(&fun_ret, &r, &done, &ses.cond, &ses.mut, boost::function(boost::bind(&torrent:: x, t)))); \ + ses.m_io_service.post(boost::bind(&fun_ret, &r, &done, &ses.cond, &ses.mut, boost::function(boost::bind(&torrent:: x, t)))); \ t.reset(); \ do { ses.cond.wait(l); } while(!done) @@ -245,7 +245,7 @@ namespace libtorrent session_impl& ses = t->session(); \ type r; \ mutex::scoped_lock l(ses.mut); \ - ses.m_io_service.post(boost::bind(&fun_ret, &r, &done, &ses.cond, &ses.mut, boost::function(boost::bind(&torrent:: x, t, a1)))); \ + ses.m_io_service.post(boost::bind(&fun_ret, &r, &done, &ses.cond, &ses.mut, boost::function(boost::bind(&torrent:: x, t, a1)))); \ t.reset(); \ do { ses.cond.wait(l); } while(!done) @@ -256,7 +256,7 @@ namespace libtorrent session_impl& ses = t->session(); \ type r; \ mutex::scoped_lock l(ses.mut); \ - ses.m_io_service.post(boost::bind(&fun_ret, &r, &done, &ses.cond, &ses.mut, boost::function(boost::bind(&torrent:: x, t, a1, a2)))); \ + ses.m_io_service.post(boost::bind(&fun_ret, &r, &done, &ses.cond, &ses.mut, boost::function(boost::bind(&torrent:: x, t, a1, a2)))); \ t.reset(); \ do { ses.cond.wait(l); } while(!done)