diff options
Diffstat (limited to 'src/mongo/db/write_concern.cpp')
-rw-r--r-- | src/mongo/db/write_concern.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/write_concern.cpp b/src/mongo/db/write_concern.cpp index 7ce188de192..f035b3f5bfd 100644 --- a/src/mongo/db/write_concern.cpp +++ b/src/mongo/db/write_concern.cpp @@ -203,9 +203,8 @@ void WriteConcernResult::appendTo(const WriteConcernOptions& writeConcern, Status waitForWriteConcern(OperationContext* txn, const OpTime& replOpTime, + const WriteConcernOptions& writeConcern, WriteConcernResult* result) { - const WriteConcernOptions& writeConcern = txn->getWriteConcern(); - // We assume all options have been validated earlier, if not, programming error dassert(validateWriteConcern(writeConcern).isOK()); |