fixed Wrange-loop-analysis warning with Apple clang-800.0.42.1 (#1440)
fixed Wrange-loop-analysis warning with Apple clang-800.0.42.1
This commit is contained in:
parent
3f612d7e99
commit
71b5d9fb85
|
@ -1810,7 +1810,7 @@ namespace libtorrent
|
|||
have_pieces.push_back(p.index);
|
||||
}
|
||||
|
||||
for (auto const i : have_pieces)
|
||||
for (auto i : have_pieces)
|
||||
{
|
||||
picker().piece_passed(i);
|
||||
TORRENT_ASSERT(picker().have_piece(i));
|
||||
|
|
Loading…
Reference in New Issue