Use user-defined literals for time units

This commit is contained in:
Tatsuhiro Tsujikawa
2015-06-21 15:17:00 +09:00
parent dd277b33af
commit 0b48bb1dbd
44 changed files with 108 additions and 88 deletions

View File

@@ -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(),