diff options
author | Benety Goh <benety@mongodb.com> | 2015-08-10 17:21:52 -0400 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2015-08-11 10:24:50 -0400 |
commit | 0f885432ed34bbcb0a4bc425b6044f8451d6d1cf (patch) | |
tree | d034326afa8949f3ab21e6b5bcb4bfce0fbf7d52 /src/mongo/db/repl/sync_source_feedback.cpp | |
parent | 67b5319f3f7c028f2a629b8aaa77b6da33707adb (diff) | |
download | mongo-0f885432ed34bbcb0a4bc425b6044f8451d6d1cf.tar.gz |
SERVER-19861 converted uses of std::chrono::duration::count() to mongo::durationCount()
Diffstat (limited to 'src/mongo/db/repl/sync_source_feedback.cpp')
-rw-r--r-- | src/mongo/db/repl/sync_source_feedback.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/repl/sync_source_feedback.cpp b/src/mongo/db/repl/sync_source_feedback.cpp index 75b729c85ad..b8e137810c0 100644 --- a/src/mongo/db/repl/sync_source_feedback.cpp +++ b/src/mongo/db/repl/sync_source_feedback.cpp @@ -79,7 +79,8 @@ bool SyncSourceFeedback::_connect(OperationContext* txn, const HostAndPort& host return true; } log() << "setting syncSourceFeedback to " << host.toString(); - _connection.reset(new DBClientConnection(false, OplogReader::kSocketTimeout.count())); + _connection.reset( + new DBClientConnection(false, durationCount<Seconds>(OplogReader::kSocketTimeout))); string errmsg; try { if (!_connection->connect(host, errmsg) || |