From 6bcafc02e3137be3f47a07649126a10feec19224 Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Wed, 26 Sep 2007 07:13:04 +0000 Subject: [PATCH] country optimization --- libtorrent/src/torrent.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libtorrent/src/torrent.cpp b/libtorrent/src/torrent.cpp index 6e941e9ec..376d8f43f 100755 --- a/libtorrent/src/torrent.cpp +++ b/libtorrent/src/torrent.cpp @@ -1731,7 +1731,7 @@ namespace libtorrent m_resolving_country = false; // must be ordered in increasing order - country_entry country_map[] = + static const country_entry country_map[] = { { 4, "AF"}, { 8, "AL"}, { 10, "AQ"}, { 12, "DZ"}, { 16, "AS"} , { 20, "AD"}, { 24, "AO"}, { 28, "AG"}, { 31, "AZ"}, { 32, "AR"} @@ -2940,3 +2940,4 @@ namespace libtorrent } +