From d2afc0ca8ec0b6e8efb767cc917fdb3677f4b070 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sun, 28 Jun 2009 10:48:26 +0000 Subject: 2009-06-28 Tatsuhiro Tsujikawa Removed _currentRequest from StreamCheckIntegrityEntry and StreamFileAllocationEntry. * src/AbstractCommand.cc * src/HttpResponseCommand.cc * src/RequestGroup.cc * src/StreamCheckIntegrityEntry.cc * src/StreamCheckIntegrityEntry.h * src/StreamFileAllocationEntry.cc * src/StreamFileAllocationEntry.h --- src/StreamFileAllocationEntry.cc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/StreamFileAllocationEntry.cc') diff --git a/src/StreamFileAllocationEntry.cc b/src/StreamFileAllocationEntry.cc index 5caf81d5..a4f759c5 100644 --- a/src/StreamFileAllocationEntry.cc +++ b/src/StreamFileAllocationEntry.cc @@ -38,7 +38,6 @@ #include "DownloadEngine.h" #include "Option.h" -#include "Request.h" #include "prefs.h" #include "RequestGroup.h" #include "DownloadContext.h" @@ -46,11 +45,9 @@ namespace aria2 { -StreamFileAllocationEntry::StreamFileAllocationEntry(const RequestHandle& currentRequest, - RequestGroup* requestGroup, +StreamFileAllocationEntry::StreamFileAllocationEntry(RequestGroup* requestGroup, Command* nextCommand): - FileAllocationEntry(requestGroup, nextCommand), - _currentRequest(currentRequest) + FileAllocationEntry(requestGroup, nextCommand) {} StreamFileAllocationEntry::~StreamFileAllocationEntry() {} -- cgit