disable invariant_check functions when invariant checks are disabled
This commit is contained in:
@@ -188,7 +188,7 @@ namespace libtorrent
|
||||
}
|
||||
|
||||
|
||||
#ifdef TORRENT_DEBUG
|
||||
#if defined TORRENT_DEBUG && !defined TORRENT_DISABLE_INVARIANT_CHECKS
|
||||
void web_connection_base::check_invariant() const
|
||||
{
|
||||
/*
|
||||
|
Reference in New Issue
Block a user