summaryrefslogtreecommitdiff
path: root/src/BtNotInterestedMessage.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-09-27 23:40:25 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-09-27 23:40:25 +0900
commit215d1d3d0bf7530e27ea83aab873528c1500478d (patch)
tree4c9f297162592ab66988b2ed613e9db95fd49291 /src/BtNotInterestedMessage.cc
parentae2e4cb7ffbe5d0384056cbf40f355e75f9defd7 (diff)
Made static create function of BtMessage subclass return raw pointer
Diffstat (limited to 'src/BtNotInterestedMessage.cc')
-rw-r--r--src/BtNotInterestedMessage.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BtNotInterestedMessage.cc b/src/BtNotInterestedMessage.cc
index cf8b794a..33f3ec3c 100644
--- a/src/BtNotInterestedMessage.cc
+++ b/src/BtNotInterestedMessage.cc
@@ -44,7 +44,7 @@ BtNotInterestedMessage::BtNotInterestedMessage():ZeroBtMessage(ID, NAME) {}
BtNotInterestedMessage::~BtNotInterestedMessage() {}
-SharedHandle<BtNotInterestedMessage> BtNotInterestedMessage::create
+BtNotInterestedMessage* BtNotInterestedMessage::create
(const unsigned char* data, size_t dataLength)
{
return ZeroBtMessage::create<BtNotInterestedMessage>(data, dataLength);