diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2015-06-08 02:03:31 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2015-06-09 02:05:34 +0900 |
| commit | 99cd73c0926f0c07d27777fde2f15816e8040030 (patch) | |
| tree | 7c6a077b0590c49029c76686afb9c2ab1d00bb6d /test/RpcMethodTest.cc | |
| parent | 2874f6ab095a30a4d297cdc85fa3730bec41b1c2 (diff) | |
Replace timer facility with chrono lib
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 d5614b4e..96127ee4 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 = 1000; + d->sessionTime = std::chrono::seconds(1); d->result = error_code::FINISHED; d->followedBy = followedBy; d->belongsTo = 2; |
