diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-09-27 23:40:25 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-09-27 23:40:25 +0900 |
| commit | 215d1d3d0bf7530e27ea83aab873528c1500478d (patch) | |
| tree | 4c9f297162592ab66988b2ed613e9db95fd49291 /src/BtNotInterestedMessage.cc | |
| parent | ae2e4cb7ffbe5d0384056cbf40f355e75f9defd7 (diff) | |
Made static create function of BtMessage subclass return raw pointer
Diffstat (limited to 'src/BtNotInterestedMessage.cc')
| -rw-r--r-- | src/BtNotInterestedMessage.cc | 2 |
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); |
