mirror of
https://github.com/aria2/aria2.git
synced 2026-04-02 10:55:00 +00:00
Use user-defined literals for time units
This commit is contained in:
@@ -43,7 +43,7 @@ void DHTMessageTrackerEntryTest::testMatch()
|
||||
DHTMessageTrackerEntry entry(msg1->getRemoteNode(),
|
||||
msg1->getTransactionID(),
|
||||
msg1->getMessageType(),
|
||||
std::chrono::seconds(30));
|
||||
30_s);
|
||||
|
||||
CPPUNIT_ASSERT(entry.match(msg1->getTransactionID(),
|
||||
msg1->getRemoteNode()->getIPAddress(),
|
||||
|
||||
Reference in New Issue
Block a user