opt web_seed_entry operator==

This commit is contained in:
pavel.pimenov 2017-05-02 06:51:19 +03:00 committed by Arvid Norberg
parent e88ce93eab
commit e8a3ddf03b
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ namespace libtorrent {
// URL and type comparison
bool operator==(web_seed_entry const& e) const
{ return url == e.url && type == e.type; }
{ return type == e.type && url == e.url; }
// URL and type less-than comparison
bool operator<(web_seed_entry const& e) const