Skip to content

Commit

Permalink
fix build with encryption support disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
arvidn committed Apr 11, 2022
1 parent 93b7fcf commit 07a5305
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/libtorrent/aux_/torrent_list.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,9 @@ struct torrent_list
#endif

TORRENT_ASSERT(all_torrents == all_indexed_torrents);
#if !defined TORRENT_DISABLE_ENCRYPTION
TORRENT_ASSERT(all_torrents == all_obf_indexed_torrents);
#endif
}
#endif

Expand Down

0 comments on commit 07a5305

Please sign in to comment.