summaryrefslogtreecommitdiffstats
path: root/libtorrent/src/piece_picker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libtorrent/src/piece_picker.cpp')
-rwxr-xr-xlibtorrent/src/piece_picker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtorrent/src/piece_picker.cpp b/libtorrent/src/piece_picker.cpp
index a16be1218..6321413ad 100755
--- a/libtorrent/src/piece_picker.cpp
+++ b/libtorrent/src/piece_picker.cpp
@@ -1129,7 +1129,7 @@ namespace libtorrent
if (new_piece_priority == int(p.piece_priority)) return false;
int prev_priority = p.priority(this);
- TORRENT_ASSERT(m_dirty | prev_priority < int(m_priority_boundries.size()));
+ TORRENT_ASSERT(m_dirty || prev_priority < int(m_priority_boundries.size()));
bool ret = false;
if (new_piece_priority == piece_pos::filter_priority