diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-07-10 08:13:01 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-07-10 08:13:01 +0000 |
| commit | eecb81dc60d0b9bb85b411efecb272b1404f071a (patch) | |
| tree | feabb44855ccd4560b3258e47ee04f5904cdea44 | |
| parent | 8d2ca8e03cb13e0016c59ce4db4ed64a6bdd8d46 (diff) | |
2010-07-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed unusable typedefs
* src/FileAllocationIterator.h
* src/MultiDiskAdaptor.cc
* src/MultiFileAllocationIterator.h
* src/SingleFileAllocationIterator.h
| -rw-r--r-- | ChangeLog | 8 | ||||
| -rw-r--r-- | src/FileAllocationIterator.h | 2 | ||||
| -rw-r--r-- | src/MultiDiskAdaptor.cc | 2 | ||||
| -rw-r--r-- | src/MultiFileAllocationIterator.h | 2 | ||||
| -rw-r--r-- | src/SingleFileAllocationIterator.h | 2 |
5 files changed, 9 insertions, 7 deletions
@@ -1,5 +1,13 @@ 2010-07-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net> + Removed unusable typedefs + * src/FileAllocationIterator.h + * src/MultiDiskAdaptor.cc + * src/MultiFileAllocationIterator.h + * src/SingleFileAllocationIterator.h + +2010-07-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net> + Fixed the bug that DownloadContext::resetDownloadStartTime() never be called in downloads whose total length is unknown. This causes avg speed in Download Results is always 0 for these downloads. diff --git a/src/FileAllocationIterator.h b/src/FileAllocationIterator.h index 479c2305..52b87189 100644 --- a/src/FileAllocationIterator.h +++ b/src/FileAllocationIterator.h @@ -55,8 +55,6 @@ public: virtual uint64_t getTotalLength() = 0; }; -typedef SharedHandle<FileAllocationIterator> FileAllocationIteratorHandle; - } // namespace aria2 #endif // _D_FILE_ALLOCATION_ITERATOR_H_ diff --git a/src/MultiDiskAdaptor.cc b/src/MultiDiskAdaptor.cc index 66ece501..b6317055 100644 --- a/src/MultiDiskAdaptor.cc +++ b/src/MultiDiskAdaptor.cc @@ -461,7 +461,7 @@ uint64_t MultiDiskAdaptor::size() return size; } -FileAllocationIteratorHandle MultiDiskAdaptor::fileAllocationIterator() +SharedHandle<FileAllocationIterator> MultiDiskAdaptor::fileAllocationIterator() { return SharedHandle<FileAllocationIterator> (new MultiFileAllocationIterator(this)); diff --git a/src/MultiFileAllocationIterator.h b/src/MultiFileAllocationIterator.h index 42239c4f..a84540a4 100644 --- a/src/MultiFileAllocationIterator.h +++ b/src/MultiFileAllocationIterator.h @@ -67,8 +67,6 @@ public: getDiskWriterEntries() const; }; -typedef SharedHandle<MultiFileAllocationIterator> MultiFileAllocationIteratorHandle; - } // namespace aria2 #endif // _D_MULTI_FILE_ALLOCATION_ITERATOR_H_ diff --git a/src/SingleFileAllocationIterator.h b/src/SingleFileAllocationIterator.h index 308180d3..11df3b6d 100644 --- a/src/SingleFileAllocationIterator.h +++ b/src/SingleFileAllocationIterator.h @@ -76,8 +76,6 @@ public: void init(); }; -typedef SharedHandle<SingleFileAllocationIterator> SingleFileAllocationIteratorHandle; - } // namespace aria2 #endif // _D_SINGLE_FILE_ALLOCATION_ITERATOR_H_ |
