summaryrefslogtreecommitdiff
path: root/src/BtFileAllocationEntry.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-05-11 09:36:39 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-05-11 09:36:39 +0000
commit825cfe7715fee70e08a76f87cf2803602d3c5fed (patch)
tree277cec531172e410d6fc56da37a567b1f28108c2 /src/BtFileAllocationEntry.h
parent6d78a7656d1f726fafeede2536584c40e4379cb5 (diff)
2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Pass std::deque<Command*> by reference to avoid unnecessary coping. * src/AbstractCommand.cc * src/BtCheckIntegrityEntry.cc * src/BtCheckIntegrityEntry.h * src/BtFileAllocationEntry.cc * src/BtFileAllocationEntry.h * src/BtSetup.cc * src/BtSetup.h * src/CheckIntegrityCommand.cc * src/CheckIntegrityEntry.h * src/ChecksumCheckIntegrityEntry.cc * src/ChecksumCheckIntegrityEntry.h * src/DHTSetup.cc * src/DHTSetup.h * src/DownloadEngine.cc * src/FileAllocationCommand.cc * src/FileAllocationEntry.h * src/RequestGroup.cc * src/RequestGroup.h * src/RequestGroupMan.cc * src/RequestGroupMan.h * src/StreamCheckIntegrityEntry.cc * src/StreamCheckIntegrityEntry.h * src/StreamFileAllocationEntry.cc * src/StreamFileAllocationEntry.h * src/TrackerWatcherCommand.cc * src/a2functional.h
Diffstat (limited to 'src/BtFileAllocationEntry.h')
-rw-r--r--src/BtFileAllocationEntry.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/BtFileAllocationEntry.h b/src/BtFileAllocationEntry.h
index f9acb864..3a782672 100644
--- a/src/BtFileAllocationEntry.h
+++ b/src/BtFileAllocationEntry.h
@@ -45,7 +45,8 @@ public:
virtual ~BtFileAllocationEntry();
- virtual std::deque<Command*> prepareForNextAction(DownloadEngine* e);
+ virtual void prepareForNextAction(std::deque<Command*>& commands,
+ DownloadEngine* e);
};
typedef SharedHandle<BtFileAllocationEntry> BtFileAllocationEntryHandle;