summaryrefslogtreecommitdiff
path: root/src/mongo/logv2
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/logv2
parentf9e7b6d7de6270a5ed7bf79da40d31a78633ca2a (diff)
downloadmongo-3e63636e66ced4aed6d1aaaafcdca7ae19cf96f2.tar.gz
SERVER-65278 added clang-tidy v4 builder and fixed clang-tidy v4 issues.
Diffstat (limited to 'src/mongo/logv2')
-rw-r--r--src/mongo/logv2/attribute_storage.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/logv2/attribute_storage.h b/src/mongo/logv2/attribute_storage.h
index 862e6c8d6a5..dbd9bdd20fa 100644
--- a/src/mongo/logv2/attribute_storage.h
+++ b/src/mongo/logv2/attribute_storage.h
@@ -200,10 +200,10 @@ inline StringData mapValue(const char* value) {
return value;
}
-inline const BSONObj mapValue(BSONObj const& value) {
+inline BSONObj mapValue(BSONObj const& value) {
return value;
}
-inline const BSONArray mapValue(BSONArray const& value) {
+inline BSONArray mapValue(BSONArray const& value) {
return value;
}
inline CustomAttributeValue mapValue(BSONElement const& val) {