From 288f203a92dbde9d626a11e1398daf1f69acec41 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Fri, 6 Sep 2013 05:44:38 +0000 Subject: [PATCH] fix missed function call in previous check-in --- include/libtorrent/torrent.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/libtorrent/torrent.hpp b/include/libtorrent/torrent.hpp index 888d3c1e8..f081b5276 100644 --- a/include/libtorrent/torrent.hpp +++ b/include/libtorrent/torrent.hpp @@ -826,7 +826,7 @@ namespace libtorrent // to be a seed after all if (!seed) force_recheck(); m_num_verified = 0; - m_verified.free(); + m_verified.clear(); } bool all_verified() const { return int(m_num_verified) == m_torrent_file->num_pieces(); }