From c342bde9627b434effbc0cd10b817670d1da0923 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sun, 28 Feb 2010 12:30:11 +0000 Subject: 2010-02-28 Tatsuhiro Tsujikawa Use vector instead of deque for containers which is used for mostly read-only purpose. --- src/StreamFileAllocationEntry.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/StreamFileAllocationEntry.cc') diff --git a/src/StreamFileAllocationEntry.cc b/src/StreamFileAllocationEntry.cc index cf89e788..00800e6e 100644 --- a/src/StreamFileAllocationEntry.cc +++ b/src/StreamFileAllocationEntry.cc @@ -52,8 +52,9 @@ StreamFileAllocationEntry::StreamFileAllocationEntry(RequestGroup* requestGroup, StreamFileAllocationEntry::~StreamFileAllocationEntry() {} -void StreamFileAllocationEntry::prepareForNextAction(std::deque& commands, - DownloadEngine* e) +void StreamFileAllocationEntry::prepareForNextAction +(std::vector& commands, + DownloadEngine* e) { _requestGroup->getDownloadContext()->resetDownloadStartTime(); if(_nextCommand) { -- cgit