summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/resharding_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/resharding_util.h')
-rw-r--r--src/mongo/db/s/resharding_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/resharding_util.h b/src/mongo/db/s/resharding_util.h
index 21e4d192682..247dfba84a9 100644
--- a/src/mongo/db/s/resharding_util.h
+++ b/src/mongo/db/s/resharding_util.h
@@ -179,7 +179,7 @@ std::unique_ptr<Pipeline, PipelineDeleter> createOplogFetchingPipelineForReshard
*/
boost::optional<ShardId> getDestinedRecipient(OperationContext* opCtx,
const NamespaceString& sourceNss,
- BSONObj fullDocument);
+ const BSONObj& fullDocument);
/**
* Creates pipeline for filtering collection data matching the recipient shard.
*/