summaryrefslogtreecommitdiff
path: root/src/BtInterestedMessage.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-06-30 16:55:15 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-06-30 22:55:43 +0900
commit098f1571be6f9d30d394eb83d35cc67f8e9ebcb0 (patch)
tree1fd7ae9d1173704f39291c5f438c3388a3ab3d65 /src/BtInterestedMessage.h
parentabcb0745ed3c60f17942ce65fb63159a157854ea (diff)
Wrap BtMessage objects by std::unique_ptr instead of std::shared_ptr
Diffstat (limited to 'src/BtInterestedMessage.h')
-rw-r--r--src/BtInterestedMessage.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BtInterestedMessage.h b/src/BtInterestedMessage.h
index 0f794126..d6232f02 100644
--- a/src/BtInterestedMessage.h
+++ b/src/BtInterestedMessage.h
@@ -53,7 +53,7 @@ public:
static const char NAME[];
- static BtInterestedMessage* create
+ static std::unique_ptr<BtInterestedMessage> create
(const unsigned char* data, size_t dataLength);
virtual void doReceivedAction();