From 91838d8a65a0800a125e2c4dea8ef3343cc0e139 Mon Sep 17 00:00:00 2001 From: arvidn Date: Wed, 12 Apr 2017 14:34:17 -0700 Subject: [PATCH] clean up declaration for removed function --- bindings/python/src/session.cpp | 3 +-- include/libtorrent/aux_/session_impl.hpp | 5 ----- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/bindings/python/src/session.cpp b/bindings/python/src/session.cpp index 40c374c28..bbddc7692 100644 --- a/bindings/python/src/session.cpp +++ b/bindings/python/src/session.cpp @@ -9,15 +9,14 @@ #include #include #include -#include #include #include #include -#include // for settings_map() #include #include // for sign_mutable_item #include #include +#include #ifndef TORRENT_NO_DEPRECATE #include diff --git a/include/libtorrent/aux_/session_impl.hpp b/include/libtorrent/aux_/session_impl.hpp index ee7ccc17b..c923dbbb5 100644 --- a/include/libtorrent/aux_/session_impl.hpp +++ b/include/libtorrent/aux_/session_impl.hpp @@ -155,8 +155,6 @@ namespace libtorrent struct tracker_logger; #endif - TORRENT_EXPORT std::pair settings_map(); - // this is the link between the main thread and the // thread started to run the main downloader loop struct TORRENT_EXTRA_EXPORT session_impl TORRENT_FINAL @@ -172,9 +170,6 @@ namespace libtorrent // maximum length of query names which can be registered by extensions enum { max_dht_query_length = 15 }; -#ifdef TORRENT_DEBUG -// friend class ::libtorrent::peer_connection; -#endif #if TORRENT_USE_INVARIANT_CHECKS friend class libtorrent::invariant_access; #endif