Changeset 811 for trunk/libtorrent/src/data/content.cc
- Timestamp:
- 11/23/06 08:54:49 (5 years ago)
- Files:
-
- 1 modified
-
trunk/libtorrent/src/data/content.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtorrent/src/data/content.cc
r810 r811 42 42 43 43 #include "torrent/exceptions.h" 44 #include "torrent/file.h" 44 #include "torrent/data/file.h" 45 #include "torrent/data/file_list.h" 46 #include "torrent/data/piece.h" 47 45 48 #include "content.h" 46 #include "data/file_meta.h" 47 #include "data/chunk.h" 48 49 #include "torrent/file_list.h" 50 #include "torrent/data/piece.h" 49 #include "file_meta.h" 50 #include "chunk.h" 51 51 52 52 namespace torrent { … … 63 63 64 64 Content::~Content() { 65 if (!m_fileList->empty()) 66 throw internal_error("Content::~Content() !m_fileList->empty()."); 67 65 m_fileList->clear(); 68 66 delete m_fileList; 69 67 }
