summaryrefslogtreecommitdiff
path: root/src/mongo/s/catalog/type_collection.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/catalog/type_collection.h')
-rw-r--r--src/mongo/s/catalog/type_collection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/catalog/type_collection.h b/src/mongo/s/catalog/type_collection.h
index a903da4d224..fb032a94f72 100644
--- a/src/mongo/s/catalog/type_collection.h
+++ b/src/mongo/s/catalog/type_collection.h
@@ -145,7 +145,7 @@ public:
void setMaxChunkSizeBytes(int64_t value);
bool getAllowAutoSplit() const {
- return !getNoAutoSplit();
+ return !getNoAutoSplit().get_value_or(false);
}
bool getAllowBalance() const {