summaryrefslogtreecommitdiff
path: root/bson/bsonobjbuilder.h
diff options
context:
space:
mode:
Diffstat (limited to 'bson/bsonobjbuilder.h')
-rw-r--r--bson/bsonobjbuilder.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bson/bsonobjbuilder.h b/bson/bsonobjbuilder.h
index f89d225c9b3..882da0407df 100644
--- a/bson/bsonobjbuilder.h
+++ b/bson/bsonobjbuilder.h
@@ -752,6 +752,8 @@ namespace mongo {
int len() const { return _b.len(); }
+ int arrSize() const { return _i; }
+
private:
void fill( const StringData& name ) {
char *r;