Show
Ignore:
Timestamp:
03/15/10 14:31:50 (2 years ago)
Author:
rakshasa
Message:

* Cleaned up torrent/download.h.

* Removed raw_value as it is redundant.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/rtorrent/src/core/download.h

    r1144 r1145  
    153153inline bool 
    154154Download::operator == (const std::string& str) const { 
    155   return str.size() == torrent::HashString::size_data && *torrent::HashString::cast_from(str) == m_download.info_hash(); 
     155  return str.size() == torrent::HashString::size_data && *torrent::HashString::cast_from(str) == m_download.info()->hash(); 
    156156} 
    157157