From 07d270c87e6f9184aea4ca17eb26e466712e8db2 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 22 Jun 2013 01:10:38 +0900 Subject: Require -std=c++11 and use std::shared_ptr instead of SharedHandle --- src/CreateRequestCommand.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/CreateRequestCommand.cc') diff --git a/src/CreateRequestCommand.cc b/src/CreateRequestCommand.cc index d46936dd..1845af7c 100644 --- a/src/CreateRequestCommand.cc +++ b/src/CreateRequestCommand.cc @@ -55,9 +55,9 @@ CreateRequestCommand::CreateRequestCommand(cuid_t cuid, RequestGroup* requestGroup, DownloadEngine* e): AbstractCommand - (cuid, SharedHandle(), SharedHandle(), requestGroup, e, - SharedHandle(), - SharedHandle(), + (cuid, std::shared_ptr(), std::shared_ptr(), requestGroup, e, + std::shared_ptr(), + std::shared_ptr(), false) { setStatus(Command::STATUS_ONESHOT_REALTIME); -- cgit