summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/oplog_fetcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/oplog_fetcher.h')
-rw-r--r--src/mongo/db/repl/oplog_fetcher.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/repl/oplog_fetcher.h b/src/mongo/db/repl/oplog_fetcher.h
index 808495d9623..9e2c5a2f71a 100644
--- a/src/mongo/db/repl/oplog_fetcher.h
+++ b/src/mongo/db/repl/oplog_fetcher.h
@@ -434,8 +434,7 @@ private:
* This will be called when we check the first batch of results and our last fetched optime does
* not equal the first document in that batch. This function should never return Status::OK().
*/
- Status _checkTooStaleToSyncFromSource(const OpTime lastFetched,
- const OpTime firstOpTimeInDocument);
+ Status _checkTooStaleToSyncFromSource(OpTime lastFetched, OpTime firstOpTimeInDocument);
// Protects member data of this OplogFetcher.
mutable Mutex _mutex = MONGO_MAKE_LATCH("OplogFetcher::_mutex");