country optimization

This commit is contained in:
Marcos Pinto 2007-09-26 07:13:04 +00:00
parent 5d4931c94b
commit 6bcafc02e3
1 changed files with 2 additions and 1 deletions

View File

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