un-breaks VCPP and doesn't seem to affect anything else

This commit is contained in:
Peter Thorson
2013-05-03 11:20:42 -05:00
parent db0a2eb7f5
commit 380116b3df

View File

@@ -305,7 +305,7 @@ public:
*/
connection_ptr get_con_from_hdl(connection_hdl hdl, lib::error_code & ec) {
scoped_lock_type lock(m_mutex);
connection_ptr con = lib::static_pointer_cast<connection_type,void>(
connection_ptr con = lib::static_pointer_cast<connection_type>(
hdl.lock());
if (!con) {
ec = error::make_error_code(error::bad_connection);