diff options
Diffstat (limited to 'src/mongo/db/s/split_vector.cpp')
-rw-r--r-- | src/mongo/db/s/split_vector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/split_vector.cpp b/src/mongo/db/s/split_vector.cpp index 10819bbcc8d..67daf15550f 100644 --- a/src/mongo/db/s/split_vector.cpp +++ b/src/mongo/db/s/split_vector.cpp @@ -78,7 +78,7 @@ std::vector<BSONObj> splitVector(OperationContext* opCtx, { AutoGetCollection autoColl(opCtx, nss, MODE_IS); - Collection* const collection = autoColl.getCollection(); + const Collection* const collection = autoColl.getCollection(); uassert(ErrorCodes::NamespaceNotFound, "ns not found", collection); // Allow multiKey based on the invariant that shard keys must be single-valued. Therefore, |