summaryrefslogtreecommitdiff
path: root/src/mongo/bson/bsonelement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/bson/bsonelement.cpp')
-rw-r--r--src/mongo/bson/bsonelement.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/bson/bsonelement.cpp b/src/mongo/bson/bsonelement.cpp
index 430b259699b..dd331399950 100644
--- a/src/mongo/bson/bsonelement.cpp
+++ b/src/mongo/bson/bsonelement.cpp
@@ -209,6 +209,7 @@ BSONObj BSONElement::_jsonStringGenerator(const Generator& g,
break;
}
// fall through if scope is empty
+ [[fallthrough]];
}
case Code:
g.writeCode(buffer, _asCode());