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/BtFileAllocationEntry.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/BtFileAllocationEntry.cc') diff --git a/src/BtFileAllocationEntry.cc b/src/BtFileAllocationEntry.cc index d5f66308..a76dfbda 100644 --- a/src/BtFileAllocationEntry.cc +++ b/src/BtFileAllocationEntry.cc @@ -49,8 +49,8 @@ BtFileAllocationEntry::BtFileAllocationEntry(RequestGroup* requestGroup): BtFileAllocationEntry::~BtFileAllocationEntry() {} -void BtFileAllocationEntry::prepareForNextAction(std::deque& commands, - DownloadEngine* e) +void BtFileAllocationEntry::prepareForNextAction +(std::vector& commands, DownloadEngine* e) { BtSetup().setup(commands, _requestGroup, e, _requestGroup->getOption().get()); if(!_requestGroup->downloadFinished()) { -- cgit