From ee61db101ea4b471730f27ae5de629c79161d4dd Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Fri, 26 Oct 2007 00:43:28 +0000 Subject: [PATCH] variant_stream fix --- include/libtorrent/variant_stream.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/libtorrent/variant_stream.hpp b/include/libtorrent/variant_stream.hpp index ea8373d4b..bbe3d964d 100644 --- a/include/libtorrent/variant_stream.hpp +++ b/include/libtorrent/variant_stream.hpp @@ -48,8 +48,8 @@ namespace aux template struct io_control_visitor_ec: boost::static_visitor<> { - io_control_visitor_ec(IO_Control_Command& ioc, asio::error_code& ec) - : ioc(ioc), ec(ec) {} + io_control_visitor_ec(IO_Control_Command& ioc, asio::error_code& ec_) + : ioc(ioc), ec(ec_) {} template void operator()(T* p) const @@ -188,7 +188,7 @@ namespace aux : boost::static_visitor<> { close_visitor_ec(asio::error_code& ec_) - : ec(ec) + : ec(ec_) {} template @@ -329,9 +329,9 @@ namespace aux struct read_some_visitor_ec : boost::static_visitor { - read_some_visitor_ec(Mutable_Buffers const& buffers, asio::error_code& ec) + read_some_visitor_ec(Mutable_Buffers const& buffers, asio::error_code& ec_) : buffers(buffers) - , ec(ec) + , ec(ec_) {} template