summaryrefslogtreecommitdiff
path: root/src/StreamFileAllocationEntry.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2009-06-28 10:48:26 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2009-06-28 10:48:26 +0000
commitd2afc0ca8ec0b6e8efb767cc917fdb3677f4b070 (patch)
treec678bbe38ea516d46e4bcee90fbbdd11e8650cdf /src/StreamFileAllocationEntry.cc
parent5699b675268658ea958f7c2306e19849dff9bc41 (diff)
2009-06-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
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
Diffstat (limited to 'src/StreamFileAllocationEntry.cc')
-rw-r--r--src/StreamFileAllocationEntry.cc7
1 files changed, 2 insertions, 5 deletions
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() {}