fixed broken build

This commit is contained in:
Arvid Norberg
2010-01-31 20:22:35 +00:00
parent 8542343a0d
commit ca20d2d600
3 changed files with 3 additions and 3 deletions

View File

@@ -438,8 +438,6 @@ namespace libtorrent
cache_lru_index_t& ridx = m_read_pieces.get<1>();
i = ridx.begin();
while (i != ridx.end() && now - i->expire > cut_off)
{
free_piece(const_cast<cached_piece_entry&>(*i), l);
{
free_piece(const_cast<cached_piece_entry&>(*i), l);
ridx.erase(i++);