diff --git a/include/libtorrent/session_handle.hpp b/include/libtorrent/session_handle.hpp index af5ee8c71..a0c848405 100644 --- a/include/libtorrent/session_handle.hpp +++ b/include/libtorrent/session_handle.hpp @@ -54,7 +54,6 @@ namespace libtorrent class torrent; struct ip_filter; class port_filter; - class connection_queue; class alert; #ifndef TORRENT_NO_DEPRECATE diff --git a/test/test_natpmp.cpp b/test/test_natpmp.cpp index 55fa9055b..82de2ef66 100644 --- a/test/test_natpmp.cpp +++ b/test/test_natpmp.cpp @@ -33,7 +33,6 @@ POSSIBILITY OF SUCH DAMAGE. #include "libtorrent/natpmp.hpp" #include "libtorrent/socket.hpp" #include "libtorrent/socket_io.hpp" -#include "libtorrent/connection_queue.hpp" #include #include #include @@ -66,7 +65,6 @@ int main(int argc, char* argv[]) return 1; } - connection_queue cc(ios); boost::intrusive_ptr natpmp_handler = new natpmp(ios, address_v4() , &callback, &log_callback);