From a63e0742740ef44dfd6fef34e904c90e26421cd6 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Thu, 3 Apr 2014 22:01:02 +0000 Subject: [PATCH] merged export fix from RC_0_16 --- include/libtorrent/bencode.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/libtorrent/bencode.hpp b/include/libtorrent/bencode.hpp index 4e8f8a10b..5d2a99e1f 100644 --- a/include/libtorrent/bencode.hpp +++ b/include/libtorrent/bencode.hpp @@ -119,7 +119,9 @@ namespace libtorrent return int(val.length()); } - TORRENT_EXTRA_EXPORT char const* integer_to_str(char* buf, int size, entry::integer_type val); + // this is used in the template, so it must be available to the client + TORRENT_EXPORT char const* integer_to_str(char* buf, int size + , entry::integer_type val); template int write_integer(OutIt& out, entry::integer_type val)