diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-06-30 16:55:15 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-06-30 22:55:43 +0900 |
| commit | 098f1571be6f9d30d394eb83d35cc67f8e9ebcb0 (patch) | |
| tree | 1fd7ae9d1173704f39291c5f438c3388a3ab3d65 /src/BtNotInterestedMessage.h | |
| parent | abcb0745ed3c60f17942ce65fb63159a157854ea (diff) | |
Wrap BtMessage objects by std::unique_ptr instead of std::shared_ptr
Diffstat (limited to 'src/BtNotInterestedMessage.h')
| -rw-r--r-- | src/BtNotInterestedMessage.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BtNotInterestedMessage.h b/src/BtNotInterestedMessage.h index d356a802..8bb4b9b2 100644 --- a/src/BtNotInterestedMessage.h +++ b/src/BtNotInterestedMessage.h @@ -53,7 +53,7 @@ public: static const char NAME[]; - static BtNotInterestedMessage* create + static std::unique_ptr<BtNotInterestedMessage> create (const unsigned char* data, size_t dataLength); virtual void doReceivedAction(); |
