forked from premiere/premiere-libtorrent
attempted msvc-10.0 build fix
This commit is contained in:
parent
601f8c0476
commit
99e1a3a829
|
@ -290,7 +290,7 @@ list get_download_queue(torrent_handle& handle)
|
|||
block_info["num_peers"] = i->blocks[k].num_peers;
|
||||
block_info["bytes_progress"] = i->blocks[k].bytes_progress;
|
||||
block_info["block_size"] = i->blocks[k].block_size;
|
||||
block_info["peer"] = make_tuple(
|
||||
block_info["peer"] = boost::python::make_tuple(
|
||||
boost::lexical_cast<std::string>(i->blocks[k].peer().address()), i->blocks[k].peer().port());
|
||||
block_list.append(block_info);
|
||||
}
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
#include <string.h> // for strlen
|
||||
#include <cmath>
|
||||
#include <algorithm> // for std::min
|
||||
#include <iterator> // for back_inserter
|
||||
|
||||
char const* esc(char const* code)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue