variant_stream fix

This commit is contained in:
Arvid Norberg 2007-10-26 00:43:28 +00:00
parent 5f89db91a3
commit ee61db101e
1 changed files with 5 additions and 5 deletions

View File

@ -48,8 +48,8 @@ namespace aux
template<class IO_Control_Command> template<class IO_Control_Command>
struct io_control_visitor_ec: boost::static_visitor<> struct io_control_visitor_ec: boost::static_visitor<>
{ {
io_control_visitor_ec(IO_Control_Command& ioc, asio::error_code& ec) io_control_visitor_ec(IO_Control_Command& ioc, asio::error_code& ec_)
: ioc(ioc), ec(ec) {} : ioc(ioc), ec(ec_) {}
template <class T> template <class T>
void operator()(T* p) const void operator()(T* p) const
@ -188,7 +188,7 @@ namespace aux
: boost::static_visitor<> : boost::static_visitor<>
{ {
close_visitor_ec(asio::error_code& ec_) close_visitor_ec(asio::error_code& ec_)
: ec(ec) : ec(ec_)
{} {}
template <class T> template <class T>
@ -329,9 +329,9 @@ namespace aux
struct read_some_visitor_ec struct read_some_visitor_ec
: boost::static_visitor<std::size_t> : boost::static_visitor<std::size_t>
{ {
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) : buffers(buffers)
, ec(ec) , ec(ec_)
{} {}
template <class T> template <class T>