|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r49199 - trunk/boost/asio
From: chris_at_[hidden]
Date: 2008-10-09 02:31:01
Author: chris_kohlhoff
Date: 2008-10-09 02:31:01 EDT (Thu, 09 Oct 2008)
New Revision: 49199
URL: http://svn.boost.org/trac/boost/changeset/49199
Log:
Fix basic_socket_streambuf to work with Protocol objects that don't
provide a resolver.
Text files modified:
trunk/boost/asio/basic_socket_streambuf.hpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
Modified: trunk/boost/asio/basic_socket_streambuf.hpp
==============================================================================
--- trunk/boost/asio/basic_socket_streambuf.hpp (original)
+++ trunk/boost/asio/basic_socket_streambuf.hpp 2008-10-09 02:31:01 EDT (Thu, 09 Oct 2008)
@@ -248,7 +248,8 @@
setp(put_buffer_.begin(), put_buffer_.end());
}
- void resolve_and_connect(const typename Protocol::resolver_query& query,
+ template <typename ResolverQuery>
+ void resolve_and_connect(const ResolverQuery& query,
boost::system::error_code& ec)
{
typedef typename Protocol::resolver resolver_type;
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk