From 99e1a3a829130cf2fb09fc9e81f16a7da88971fb Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sun, 30 Nov 2014 00:28:03 +0000 Subject: [PATCH] attempted msvc-10.0 build fix --- bindings/python/src/torrent_handle.cpp | 2 +- examples/print.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bindings/python/src/torrent_handle.cpp b/bindings/python/src/torrent_handle.cpp index c83813fe6..b6ce3489f 100644 --- a/bindings/python/src/torrent_handle.cpp +++ b/bindings/python/src/torrent_handle.cpp @@ -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(i->blocks[k].peer().address()), i->blocks[k].peer().port()); block_list.append(block_info); } diff --git a/examples/print.cpp b/examples/print.cpp index 07e166b51..0433e93ca 100644 --- a/examples/print.cpp +++ b/examples/print.cpp @@ -19,6 +19,7 @@ #include // for strlen #include #include // for std::min +#include // for back_inserter char const* esc(char const* code) {