summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/collection_impl.h
diff options
context:
space:
mode:
authorDaniel Moody <daniel.moody@mongodb.com>2022-04-11 11:20:13 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-04-29 06:50:37 +0000
commit3e63636e66ced4aed6d1aaaafcdca7ae19cf96f2 (patch)
tree930ff9b35605d23d578933a45220f0fde6eff3be /src/mongo/db/catalog/collection_impl.h
parentf9e7b6d7de6270a5ed7bf79da40d31a78633ca2a (diff)
downloadmongo-3e63636e66ced4aed6d1aaaafcdca7ae19cf96f2.tar.gz
SERVER-65278 added clang-tidy v4 builder and fixed clang-tidy v4 issues.
Diffstat (limited to 'src/mongo/db/catalog/collection_impl.h')
-rw-r--r--src/mongo/db/catalog/collection_impl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/catalog/collection_impl.h b/src/mongo/db/catalog/collection_impl.h
index fbfd83a6e0a..7d5bca73064 100644
--- a/src/mongo/db/catalog/collection_impl.h
+++ b/src/mongo/db/catalog/collection_impl.h
@@ -114,7 +114,7 @@ public:
return {_shared, _shared->_recordStore.get()};
}
- const BSONObj getValidatorDoc() const final {
+ BSONObj getValidatorDoc() const final {
return _validator.validatorDoc.getOwned();
}