From e8a3ddf03bc720337c63a062c445b42e212b34f8 Mon Sep 17 00:00:00 2001 From: "pavel.pimenov" Date: Tue, 2 May 2017 06:51:19 +0300 Subject: [PATCH] opt web_seed_entry operator== --- include/libtorrent/torrent_info.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/libtorrent/torrent_info.hpp b/include/libtorrent/torrent_info.hpp index 152b3f306..f2aa67f12 100644 --- a/include/libtorrent/torrent_info.hpp +++ b/include/libtorrent/torrent_info.hpp @@ -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