remove some last lexical_cast residual

This commit is contained in:
arvidn 2017-12-27 10:54:11 +01:00 committed by Arvid Norberg
parent 3971897c14
commit 7ea5946305
4 changed files with 2 additions and 5 deletions

View File

@ -13,7 +13,6 @@
#include "libtorrent/announce_entry.hpp"
#include <libtorrent/storage.hpp>
#include <libtorrent/file_pool.hpp>
#include <boost/lexical_cast.hpp>
#include "gil.hpp"
using namespace boost::python;

View File

@ -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.

View File

@ -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<char, 4 + std::numeric_limits<boost::int64_t>::digits10>
to_string(boost::int64_t n)
{

View File

@ -34,7 +34,6 @@ POSSIBILITY OF SUCH DAMAGE.
#include "libtorrent/bdecode.hpp"
#include "libtorrent/bencode.hpp"
#include "libtorrent/sha1_hash.hpp"
#include <boost/lexical_cast.hpp>
#include <iostream>
#include "test.hpp"