diff options
| author | Andy Schwerin <schwerin@mongodb.com> | 2016-05-09 10:31:40 -0400 |
|---|---|---|
| committer | Andy Schwerin <schwerin@mongodb.com> | 2016-05-17 11:11:57 -0400 |
| commit | 73a042328a539b51b3bf35efc16ec3245381dc40 (patch) | |
| tree | 650b8de13315f5bdb94626e51c445fed7f41152e /src/mongo/db/collection_index_usage_tracker_test.cpp | |
| parent | 11e82fe19c81bd1a5d350a219c3a000e959b6dd6 (diff) | |
| download | mongo-73a042328a539b51b3bf35efc16ec3245381dc40.tar.gz | |
SERVER-24104 Replace direct uses of stdx::chrono::durations with MongoDB duration using decls.
This is a preliminary step for switching from stdx::chrono::duration to mongo::Duration.
Diffstat (limited to 'src/mongo/db/collection_index_usage_tracker_test.cpp')
| -rw-r--r-- | src/mongo/db/collection_index_usage_tracker_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/collection_index_usage_tracker_test.cpp b/src/mongo/db/collection_index_usage_tracker_test.cpp index 5ce0988452c..b82583d5daf 100644 --- a/src/mongo/db/collection_index_usage_tracker_test.cpp +++ b/src/mongo/db/collection_index_usage_tracker_test.cpp @@ -141,7 +141,7 @@ TEST_F(CollectionIndexUsageTrackerTest, DateTimeAfterDeregister) { ASSERT(statsMap.find("foo") == statsMap.end()); // Increment clock source so that a new index registration has different start time. - getClockSource()->advance(stdx::chrono::milliseconds(1)); + getClockSource()->advance(Milliseconds(1)); getTracker()->registerIndex("foo", BSON("foo" << 1)); statsMap = getTracker()->getUsageStats(); |
