fix no-exception build

This commit is contained in:
Arvid Norberg 2010-08-08 04:06:06 +00:00
parent 0800513b2d
commit cbc7bd078d
2 changed files with 4 additions and 0 deletions

View File

@ -68,11 +68,13 @@ public:
proxy_base::close(ec);
}
#ifndef BOOST_NO_EXCEPTIONS
void close()
{
m_dst_name.clear();
proxy_base::close();
}
#endif
typedef boost::function<void(error_code const&)> handler_type;

View File

@ -110,12 +110,14 @@ public:
proxy_base::close(ec);
}
#ifndef BOOST_NO_EXCEPTIONS
void close()
{
m_hostname.clear();
m_dst_name.clear();
proxy_base::close();
}
#endif
typedef boost::function<void(error_code const&)> handler_type;