diff options
Diffstat (limited to 'src/mongo/s/write_ops/batched_command_request.cpp')
-rw-r--r-- | src/mongo/s/write_ops/batched_command_request.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/write_ops/batched_command_request.cpp b/src/mongo/s/write_ops/batched_command_request.cpp index 5b1bca59b5d..c03abf4db62 100644 --- a/src/mongo/s/write_ops/batched_command_request.cpp +++ b/src/mongo/s/write_ops/batched_command_request.cpp @@ -263,7 +263,7 @@ BatchedCommandRequest BatchedCommandRequest::buildDeleteOp(const NamespaceString entry.setMulti(multiDelete); if (hint) { - entry.setHint(hint.get()); + entry.setHint(hint.value()); } return entry; }()}); @@ -295,7 +295,7 @@ BatchedCommandRequest BatchedCommandRequest::buildUpdateOp(const NamespaceString entry.setUpsert(upsert); entry.setMulti(multi); if (hint) { - entry.setHint(hint.get()); + entry.setHint(hint.value()); } return entry; }()}); |