forked from premiere/premiere-libtorrent
fix build with release-asserts
This commit is contained in:
parent
697fa4911b
commit
40db19ff7d
|
@ -136,7 +136,7 @@ namespace libtorrent
|
||||||
void notify_extension_add_peer(tcp::endpoint const& ip, int src, int flags);
|
void notify_extension_add_peer(tcp::endpoint const& ip, int src, int flags);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef TORRENT_DEBUG
|
#if defined TORRENT_DEBUG || TORRENT_RELEASE_ASSERTS
|
||||||
bool has_peer(peer_connection* p) const
|
bool has_peer(peer_connection* p) const
|
||||||
{ return m_connections.find(p) != m_connections.end(); }
|
{ return m_connections.find(p) != m_connections.end(); }
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue