mirror of
https://github.com/aria2/aria2.git
synced 2025-04-05 05:27:38 +03:00
2010-11-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed SharedHandle::isNull(). Instead we added operator* and operator unspecified_bool_type. Removed use of WeakHandle and replaced with raw pointer.
This commit is contained in:
parent
f6f5a7e5ee
commit
93e5dbed32
181 changed files with 911 additions and 876 deletions
|
@ -83,8 +83,8 @@ void DHTPingMessageTest::testDoReceivedAction()
|
|||
factory.setLocalNode(localNode);
|
||||
|
||||
DHTPingMessage msg(localNode, remoteNode, transactionID);
|
||||
msg.setMessageDispatcher(WeakHandle<DHTMessageDispatcher>(&dispatcher));
|
||||
msg.setMessageFactory(WeakHandle<DHTMessageFactory>(&factory));
|
||||
msg.setMessageDispatcher(&dispatcher);
|
||||
msg.setMessageFactory(&factory);
|
||||
|
||||
msg.doReceivedAction();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue