diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-06-22 01:10:38 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-06-22 01:10:38 +0900 |
| commit | 07d270c87e6f9184aea4ca17eb26e466712e8db2 (patch) | |
| tree | 2dfbaa2e0d2ad0f38cb73098608f7d67a64320f8 /src/CreateRequestCommand.cc | |
| parent | 126a4bde612eb0e6c48cf2f13ebe3eac45cc71a8 (diff) | |
Require -std=c++11 and use std::shared_ptr instead of SharedHandle
Diffstat (limited to 'src/CreateRequestCommand.cc')
| -rw-r--r-- | src/CreateRequestCommand.cc | 6 |
1 files changed, 3 insertions, 3 deletions
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<Request>(), SharedHandle<FileEntry>(), requestGroup, e, - SharedHandle<SocketCore>(), - SharedHandle<SocketRecvBuffer>(), + (cuid, std::shared_ptr<Request>(), std::shared_ptr<FileEntry>(), requestGroup, e, + std::shared_ptr<SocketCore>(), + std::shared_ptr<SocketRecvBuffer>(), false) { setStatus(Command::STATUS_ONESHOT_REALTIME); |
