remove resolve countries build configuration from the public API (make linking easier)

This commit is contained in:
Arvid Norberg
2013-04-09 00:37:53 +00:00
parent 3142317b85
commit 4395437c3b
6 changed files with 9 additions and 18 deletions

View File

@@ -3705,6 +3705,8 @@ namespace libtorrent
#ifndef TORRENT_DISABLE_RESOLVE_COUNTRIES
p.country[0] = m_country[0];
p.country[1] = m_country[1];
#else
std::fill(p.country, p.country + 2, 0);
#endif
p.total_download = statistics().total_payload_download();