diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2015-06-21 15:17:00 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2015-06-21 15:30:02 +0900 |
| commit | 0b48bb1dbd048c7e5232f457a52838155c085d60 (patch) | |
| tree | 44a9cdb109623923501ac190b0ac5f47839f2fe0 /test/RpcMethodTest.cc | |
| parent | dd277b33af2a5a58c39142097c3ede5df7f5655d (diff) | |
Use user-defined literals for time units
Diffstat (limited to 'test/RpcMethodTest.cc')
| -rw-r--r-- | test/RpcMethodTest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/RpcMethodTest.cc b/test/RpcMethodTest.cc index 96127ee4..a85c0119 100644 --- a/test/RpcMethodTest.cc +++ b/test/RpcMethodTest.cc @@ -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; |
