forked from premiere/premiere-libtorrent
fix for last optimization
This commit is contained in:
parent
d97f4cd835
commit
c0195ae221
|
@ -1801,7 +1801,7 @@ namespace libtorrent
|
|||
// look up the country code in the map
|
||||
const int size = sizeof(country_map)/sizeof(country_map[0]);
|
||||
country_entry tmp = {country, ""};
|
||||
country_entry* i =
|
||||
country_entry const* i =
|
||||
std::lower_bound(country_map, country_map + size, tmp
|
||||
, bind(&country_entry::code, _1) < bind(&country_entry::code, _2));
|
||||
if (i == country_map + size
|
||||
|
|
Loading…
Reference in New Issue