diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2019-12-06 20:17:56 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2019-12-09 20:43:38 +0000 |
commit | 9156592055b871be41b1f634ee37842854dc73a4 (patch) | |
tree | 9fe512730a78b950ed07ee7f84a330821a109062 /searchcore/src/tests/proton/index | |
parent | 3a8c63f34d8554573b42b0c3749e44ad4f43fb0e (diff) |
Use std::chrono.
Diffstat (limited to 'searchcore/src/tests/proton/index')
-rw-r--r-- | searchcore/src/tests/proton/index/indexcollection_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searchcore/src/tests/proton/index/indexcollection_test.cpp b/searchcore/src/tests/proton/index/indexcollection_test.cpp index 7a42fe574c2..113901e893f 100644 --- a/searchcore/src/tests/proton/index/indexcollection_test.cpp +++ b/searchcore/src/tests/proton/index/indexcollection_test.cpp @@ -75,7 +75,7 @@ public: } IndexCollection::UP create_warmup(const IndexCollection::SP& prev, const IndexCollection::SP& next) { - return std::make_unique<WarmupIndexCollection>(WarmupConfig(1.0, false), prev, next, *_warmup, _executor, *this); + return std::make_unique<WarmupIndexCollection>(WarmupConfig(1s, false), prev, next, *_warmup, _executor, *this); } virtual void warmupDone(ISearchableIndexCollection::SP current) override { @@ -90,7 +90,7 @@ public: _executor(1, 128*1024), _warmup(new FakeIndexSearchable) {} - ~IndexCollectionTest() {} + ~IndexCollectionTest() = default; }; |