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

@ -915,7 +915,7 @@ void RpcMethodTest::testGatherStoppedDownload()
d->fileEntries = fileEntries;
d->inMemoryDownload = false;
d->sessionDownloadLength = UINT64_MAX;
d->sessionTime = std::chrono::seconds(1);
d->sessionTime = 1_s;
d->result = error_code::FINISHED;
d->followedBy = followedBy;
d->belongsTo = 2;