attempted msvc-10.0 build fix

This commit is contained in:
Arvid Norberg 2014-11-30 00:28:03 +00:00
parent 601f8c0476
commit 99e1a3a829
2 changed files with 2 additions and 1 deletions

View File

@ -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);
}

View File

@ -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)
{