From 6b397c812520016f7b2b22544f51bfddbcca8dfe Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 6 Jul 2013 00:17:44 +0900 Subject: Use std::unique_ptr for CheckIntegrityEntry and FileAllocationEntry --- src/FileAllocationDispatcherCommand.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/FileAllocationDispatcherCommand.cc') diff --git a/src/FileAllocationDispatcherCommand.cc b/src/FileAllocationDispatcherCommand.cc index 4a56b569..4cc9c43d 100644 --- a/src/FileAllocationDispatcherCommand.cc +++ b/src/FileAllocationDispatcherCommand.cc @@ -47,11 +47,11 @@ FileAllocationDispatcherCommand::FileAllocationDispatcherCommand (cuid_t cuid, const std::shared_ptr& fileAllocMan, DownloadEngine* e) - : SequentialDispatcherCommand(cuid, fileAllocMan, e) + : SequentialDispatcherCommand{cuid, fileAllocMan, e} {} std::unique_ptr FileAllocationDispatcherCommand::createCommand -(const std::shared_ptr& entry) +(FileAllocationEntry* entry) { cuid_t newCUID = getDownloadEngine()->newCUID(); A2_LOG_INFO(fmt(MSG_FILE_ALLOCATION_DISPATCH, newCUID)); -- cgit