fix no-exception build
This commit is contained in:
parent
0800513b2d
commit
cbc7bd078d
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue