fix release asserts

This commit is contained in:
Arvid Norberg 2011-09-17 05:16:05 +00:00
parent f5b5160169
commit 52a0760e5b
1 changed files with 2 additions and 2 deletions

View File

@ -4637,7 +4637,7 @@ ctx->set_verify_callback(verify_function, ec);
}
if (!c) return;
#ifdef TORRENT_DEBUG
#if defined TORRENT_DEBUG || TORRENT_RELEASE_ASSERTS
c->m_in_constructor = false;
#endif
@ -5472,7 +5472,7 @@ ctx->set_verify_callback(verify_function, ec);
boost::intrusive_ptr<peer_connection> c(new bt_peer_connection(
m_ses, shared_from_this(), s, a, peerinfo));
#ifdef TORRENT_DEBUG
#if defined TORRENT_DEBUG || TORRENT_RELEASE_ASSERTS
c->m_in_constructor = false;
#endif