diff options
author | Nathan Myers <nathan.myers@10gen.com> | 2017-09-25 17:53:19 -0400 |
---|---|---|
committer | Nathan Myers <nathan.myers@10gen.com> | 2017-09-25 18:05:39 -0400 |
commit | dec0292f19aa32b51fc25a002972c61b14142aa5 (patch) | |
tree | 8a387dadca1528090fe9481192903ec2cd97cbcb /src/mongo/db | |
parent | fbea0197073ec8e8fb4f9588b4d3f01fd80514ca (diff) | |
download | mongo-dec0292f19aa32b51fc25a002972c61b14142aa5.tar.gz |
SERVER-29136 Revert declaration syntax improvement
Diffstat (limited to 'src/mongo/db')
-rw-r--r-- | src/mongo/db/s/collection_sharding_state.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/collection_sharding_state.cpp b/src/mongo/db/s/collection_sharding_state.cpp index 787b59e73bd..9e6477c1d4b 100644 --- a/src/mongo/db/s/collection_sharding_state.cpp +++ b/src/mongo/db/s/collection_sharding_state.cpp @@ -324,7 +324,7 @@ auto CollectionShardingState::makeDeleteState(BSONObj const& doc) -> DeleteState _sourceMgr && _sourceMgr->getCloner()->isDocumentInMigratingChunk(doc)}; } -void CollectionShardingState::onDeleteOp(OperationContext* opCtx, DeleteState const& deleteState) { +void CollectionShardingState::onDeleteOp(OperationContext* opCtx, const DeleteState& deleteState) { dassert(opCtx->lockState()->isCollectionLockedForMode(_nss.ns(), MODE_IX)); if (serverGlobalParams.clusterRole == ClusterRole::ShardServer) { |