diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/FileAllocationDispatcherCommand.cc | 5 | ||||
| -rw-r--r-- | src/SequentialDispatcherCommand.h | 5 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/FileAllocationDispatcherCommand.cc b/src/FileAllocationDispatcherCommand.cc index 5e5e996c..ba33aa0b 100644 --- a/src/FileAllocationDispatcherCommand.cc +++ b/src/FileAllocationDispatcherCommand.cc @@ -44,10 +44,7 @@ FileAllocationDispatcherCommand::FileAllocationDispatcherCommand (int32_t cuid, const SharedHandle<FileAllocationMan>& fileAllocMan, DownloadEngine* e):SequentialDispatcherCommand<FileAllocationEntry> - (cuid, fileAllocMan, e) -{ - setStatusRealtime(); -} + (cuid, fileAllocMan, e) {} Command* FileAllocationDispatcherCommand::createCommand (const SharedHandle<FileAllocationEntry>& entry) diff --git a/src/SequentialDispatcherCommand.h b/src/SequentialDispatcherCommand.h index 6fad70ca..49b80f17 100644 --- a/src/SequentialDispatcherCommand.h +++ b/src/SequentialDispatcherCommand.h @@ -55,7 +55,10 @@ public: SequentialDispatcherCommand(int32_t cuid, const SharedHandle<SequentialPicker<T> >& picker, DownloadEngine* e): - Command(cuid), _picker(picker), _e(e) {} + Command(cuid), _picker(picker), _e(e) + { + setStatusRealtime(); + } virtual bool execute() { |
