mirror of
https://github.com/aria2/aria2.git
synced 2025-04-06 05:57:36 +03:00
Require -std=c++11 and use std::shared_ptr instead of SharedHandle
This commit is contained in:
parent
126a4bde61
commit
07d270c87e
709 changed files with 6305 additions and 6878 deletions
|
@ -23,7 +23,7 @@ CPPUNIT_TEST_SUITE_REGISTRATION(DHTUnknownMessageTest);
|
|||
|
||||
void DHTUnknownMessageTest::testToString()
|
||||
{
|
||||
SharedHandle<DHTNode> localNode(new DHTNode());
|
||||
std::shared_ptr<DHTNode> localNode(new DHTNode());
|
||||
std::string ipaddr = "192.168.0.1";
|
||||
uint16_t port = 6881;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue