summaryrefslogtreecommitdiff
path: root/src/mongo/db/timeseries/bucket_catalog.h
diff options
context:
space:
mode:
authorLouis Williams <louis.williams@mongodb.com>2021-04-21 16:17:01 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-04-21 23:20:24 +0000
commitdcefe5e7923d3b14ee18526824c2809e158b2ca4 (patch)
treec378f058f3f2a19b4b252fa94e62efea3294a249 /src/mongo/db/timeseries/bucket_catalog.h
parent78c15ec274d0a4162aa5fcb29b367a8e1c0809d3 (diff)
downloadmongo-dcefe5e7923d3b14ee18526824c2809e158b2ca4.tar.gz
SERVER-55728 Initialize _comparator to nullptr in BucketCatalog
Diffstat (limited to 'src/mongo/db/timeseries/bucket_catalog.h')
-rw-r--r--src/mongo/db/timeseries/bucket_catalog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/timeseries/bucket_catalog.h b/src/mongo/db/timeseries/bucket_catalog.h
index 3786c44d18e..237bf790229 100644
--- a/src/mongo/db/timeseries/bucket_catalog.h
+++ b/src/mongo/db/timeseries/bucket_catalog.h
@@ -293,7 +293,7 @@ private:
private:
BSONObj _metadata;
- const StringData::ComparatorInterface* _comparator;
+ const StringData::ComparatorInterface* _comparator = nullptr;
// This stores the _metadata object with all fields sorted to allow for binary comparisons.
BSONObj _sorted;