summaryrefslogtreecommitdiff
path: root/src/StreamFileAllocationEntry.cc
diff options
context:
space:
mode:
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() {}