diff --git a/test/test_piece_picker.cpp b/test/test_piece_picker.cpp index 89b1895a5..eab6cddaa 100644 --- a/test/test_piece_picker.cpp +++ b/test/test_piece_picker.cpp @@ -225,7 +225,7 @@ int test_main() int tmp3; tcp::endpoint endp; piece_picker::downloading_piece st; - policy::peer peer_struct(endp, true, 0); + policy::ipv4_peer peer_struct(endp, true, 0); std::vector picked; boost::shared_ptr p; const std::vector empty_vector;