diff options
author | Max Hirschhorn <max.hirschhorn@mongodb.com> | 2016-03-23 18:01:25 -0400 |
---|---|---|
committer | Max Hirschhorn <max.hirschhorn@mongodb.com> | 2016-03-23 18:01:25 -0400 |
commit | 20aee8500c87cd43ae72a8c811b7e88f4f737243 (patch) | |
tree | d243c3fb3c9af522686ce7c50003b189dbbfa868 /src/mongo | |
parent | e24b8425ccf40f234c1f476342abc06533423a97 (diff) | |
download | mongo-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.cpp | 2 |
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(); }; |