summaryrefslogtreecommitdiff
path: root/src/mongo/bson/bsonelement.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/bson/bsonelement.h')
-rw-r--r--src/mongo/bson/bsonelement.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/bson/bsonelement.h b/src/mongo/bson/bsonelement.h
index 0c84387f2ad..7c427f38004 100644
--- a/src/mongo/bson/bsonelement.h
+++ b/src/mongo/bson/bsonelement.h
@@ -702,6 +702,7 @@ private:
mutable int totalSize; /* caches the computed size */
friend class BSONObjIterator;
+ friend class BSONObjStlIterator;
friend class BSONObj;
const BSONElement& chk(BSONType t) const {
if (t != type()) {