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/BtInteractive.h | |
| parent | 126a4bde612eb0e6c48cf2f13ebe3eac45cc71a8 (diff) | |
Require -std=c++11 and use std::shared_ptr instead of SharedHandle
Diffstat (limited to 'src/BtInteractive.h')
| -rw-r--r-- | src/BtInteractive.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/BtInteractive.h b/src/BtInteractive.h index bec4069f..56cb4e2a 100644 --- a/src/BtInteractive.h +++ b/src/BtInteractive.h @@ -36,7 +36,8 @@ #define D_BT_INTERACTIVE_H #include "common.h" -#include "SharedHandle.h" + +#include <memory> namespace aria2 { @@ -48,9 +49,9 @@ public: virtual void initiateHandshake() = 0; - virtual SharedHandle<BtMessage> receiveHandshake(bool quickReply = false) = 0; + virtual std::shared_ptr<BtMessage> receiveHandshake(bool quickReply = false) = 0; - virtual SharedHandle<BtMessage> receiveAndSendHandshake() = 0; + virtual std::shared_ptr<BtMessage> receiveAndSendHandshake() = 0; virtual void doPostHandshakeProcessing() = 0; |
