From 3681d3dbca85b25735fa0ec676828d1da191732d Mon Sep 17 00:00:00 2001 From: Andy Schwerin Date: Tue, 12 May 2015 10:01:26 -0400 Subject: Revert "SERVER-13874 Make mongo::Milliseconds et al. aliases for equivalent stdx::chrono types." This reverts commit 9aac625685811873ffbc2d3e8d09531eff1ce10e. Committed in error. --- src/mongo/dbtests/jsobjtests.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/mongo/dbtests/jsobjtests.cpp') diff --git a/src/mongo/dbtests/jsobjtests.cpp b/src/mongo/dbtests/jsobjtests.cpp index f823e5301ee..62a69fc6ded 100644 --- a/src/mongo/dbtests/jsobjtests.cpp +++ b/src/mongo/dbtests/jsobjtests.cpp @@ -1311,8 +1311,7 @@ namespace JsobjTests { const Date_t base( ::time( 0 ) ); oid.init( base ); - ASSERT_EQUALS(base.toMillisSinceEpoch() / 1000, - oid.asDateT().toMillisSinceEpoch() / 1000); + ASSERT_EQUALS( base.millis / 1000, oid.asDateT().millis / 1000 ); ASSERT_EQUALS( base.toTimeT(), oid.asTimeT() ); } }; -- cgit v1.2.1