summaryrefslogtreecommitdiff
path: root/src/mongo
diff options
context:
space:
mode:
authorMax Hirschhorn <max.hirschhorn@mongodb.com>2016-03-23 18:01:25 -0400
committerMax Hirschhorn <max.hirschhorn@mongodb.com>2016-03-23 18:01:25 -0400
commit20aee8500c87cd43ae72a8c811b7e88f4f737243 (patch)
treed243c3fb3c9af522686ce7c50003b189dbbfa868 /src/mongo
parente24b8425ccf40f234c1f476342abc06533423a97 (diff)
downloadmongo-20aee8500c87cd43ae72a8c811b7e88f4f737243.tar.gz
Revert "SERVER-22858 fix windows compile"
This reverts commit e24b8425ccf40f234c1f476342abc06533423a97.
Diffstat (limited to 'src/mongo')
-rw-r--r--src/mongo/db/repl/replication_coordinator_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/replication_coordinator_impl.cpp b/src/mongo/db/repl/replication_coordinator_impl.cpp
index 2313d8f1b52..e679c4dc3d7 100644
--- a/src/mongo/db/repl/replication_coordinator_impl.cpp
+++ b/src/mongo/db/repl/replication_coordinator_impl.cpp
@@ -182,7 +182,7 @@ ReplicationCoordinator::Mode getReplicationModeFromSettings(const ReplSettings&
DataReplicatorOptions createDataReplicatorOptions(ReplicationCoordinator* replCoord) {
DataReplicatorOptions options;
- options.applierFn = [](const MultiApplier::Operations&) {};
+ options.applierFn = [](const MultiApplier::Operations&) -> Status { return Status::OK(); };
options.multiApplyFn =
[](OperationContext*, const MultiApplier::Operations&, MultiApplier::ApplyOperationFn)
-> OpTime { return OpTime(); };