summaryrefslogtreecommitdiff
path: root/src/mongo/bson/bson_comparator_interface_base.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/bson/bson_comparator_interface_base.cpp')
-rw-r--r--src/mongo/bson/bson_comparator_interface_base.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/bson/bson_comparator_interface_base.cpp b/src/mongo/bson/bson_comparator_interface_base.cpp
index 96aaf1575a7..e0d85f3e926 100644
--- a/src/mongo/bson/bson_comparator_interface_base.cpp
+++ b/src/mongo/bson/bson_comparator_interface_base.cpp
@@ -109,6 +109,7 @@ void BSONComparatorInterfaceBase<T>::hashCombineBSONElement(
// Else, fall through and convert the decimal to a double and hash.
// At this point the decimal fits into the range of doubles, is infinity, or is NaN,
// which doubles have a cheaper representation for.
+ [[fallthrough]];
}
case mongo::NumberDouble:
case mongo::NumberLong: