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/DHTPingMessage.h | |
| parent | 126a4bde612eb0e6c48cf2f13ebe3eac45cc71a8 (diff) | |
Require -std=c++11 and use std::shared_ptr instead of SharedHandle
Diffstat (limited to 'src/DHTPingMessage.h')
| -rw-r--r-- | src/DHTPingMessage.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/DHTPingMessage.h b/src/DHTPingMessage.h index fc265c23..d626d212 100644 --- a/src/DHTPingMessage.h +++ b/src/DHTPingMessage.h @@ -42,15 +42,15 @@ namespace aria2 { class DHTPingMessage:public DHTQueryMessage { public: - DHTPingMessage(const SharedHandle<DHTNode>& localNode, - const SharedHandle<DHTNode>& remoteNode, + DHTPingMessage(const std::shared_ptr<DHTNode>& localNode, + const std::shared_ptr<DHTNode>& remoteNode, const std::string& transactionID = A2STR::NIL); virtual ~DHTPingMessage(); virtual void doReceivedAction(); - virtual SharedHandle<Dict> getArgument(); + virtual std::shared_ptr<Dict> getArgument(); virtual const std::string& getMessageType() const; |
