diff --git a/bindings/python/src/torrent_handle.cpp b/bindings/python/src/torrent_handle.cpp index 4afe79a19..80c7eb52e 100644 --- a/bindings/python/src/torrent_handle.cpp +++ b/bindings/python/src/torrent_handle.cpp @@ -13,7 +13,6 @@ #include "libtorrent/announce_entry.hpp" #include #include -#include #include "gil.hpp" using namespace boost::python; diff --git a/docs/building.rst b/docs/building.rst index 686be6fcd..820eeabb8 100644 --- a/docs/building.rst +++ b/docs/building.rst @@ -410,7 +410,7 @@ unix/linux systems comes with these preinstalled. The prerequisites for building libtorrent are boost.system, boost.chrono and boost.random. Those are the *compiled* boost libraries needed. The headers-only libraries needed include (but is not necessarily limited to) boost.bind, -boost.ref, boost.multi_index, boost.optional, boost.lexical_cast, boost.integer, +boost.ref, boost.multi_index, boost.optional, boost.integer, boost.iterator, boost.tuple, boost.array, boost.function, boost.smart_ptr, boost.preprocessor, boost.static_assert. diff --git a/src/string_util.cpp b/src/string_util.cpp index 00d90be18..2458ec4d9 100644 --- a/src/string_util.cpp +++ b/src/string_util.cpp @@ -48,8 +48,7 @@ POSSIBILITY OF SUCH DAMAGE. namespace libtorrent { - // lexical_cast's result depends on the locale. We need - // a well defined result + // We need well defined results that don't depend on locale boost::array::digits10> to_string(boost::int64_t n) { diff --git a/test/bdecode_benchmark.cpp b/test/bdecode_benchmark.cpp index f2195e082..7c14b516e 100644 --- a/test/bdecode_benchmark.cpp +++ b/test/bdecode_benchmark.cpp @@ -34,7 +34,6 @@ POSSIBILITY OF SUCH DAMAGE. #include "libtorrent/bdecode.hpp" #include "libtorrent/bencode.hpp" #include "libtorrent/sha1_hash.hpp" -#include #include #include "test.hpp"