fixed problem in piece_picker with filtered files, also optimzed it somewhat. Added more logging and added one test to the piece_picker test
This commit is contained in:
@@ -243,9 +243,9 @@ int test_main()
|
||||
TEST_CHECK(std::equal(picked.begin()
|
||||
, picked.end(), expected6));
|
||||
|
||||
|
||||
// TODO: make sure there are no duplicates
|
||||
// in the picked blocks!
|
||||
// make sure the piece picker allows filtered pieces
|
||||
// to become available
|
||||
p.mark_as_finished(piece_block(4, 2), address());
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user