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/PeerInteractionCommand.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/PeerInteractionCommand.h') diff --git a/src/PeerInteractionCommand.h b/src/PeerInteractionCommand.h index 9dbdecbd..dae71ddc 100644 --- a/src/PeerInteractionCommand.h +++ b/src/PeerInteractionCommand.h @@ -57,16 +57,16 @@ public: private: RequestGroup* requestGroup_; - SharedHandle btRuntime_; + std::shared_ptr btRuntime_; - SharedHandle pieceStorage_; + std::shared_ptr pieceStorage_; - SharedHandle peerStorage_; + std::shared_ptr peerStorage_; Seq sequence_; - SharedHandle btInteractive_; + std::shared_ptr btInteractive_; - const SharedHandle