summaryrefslogtreecommitdiff
path: root/bson
diff options
context:
space:
mode:
authorgregs <greg@10gen.com>2011-10-11 10:30:10 -0400
committergregs <greg@10gen.com>2011-10-11 12:18:59 -0400
commit16a811b0376916b897e34d90004f966d54b2b0cb (patch)
treed4ec1ab579f2e200d143940656f5516b15e99dca /bson
parent24a1d6e5d78a6213a93f1dfe032ca280dd0c02c0 (diff)
downloadmongo-16a811b0376916b897e34d90004f966d54b2b0cb.tar.gz
new benchRun additions for shell
Diffstat (limited to 'bson')
-rw-r--r--bson/bsonobjbuilder.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bson/bsonobjbuilder.h b/bson/bsonobjbuilder.h
index b5d984bb5f1..935cd8c2879 100644
--- a/bson/bsonobjbuilder.h
+++ b/bson/bsonobjbuilder.h
@@ -758,6 +758,7 @@ namespace mongo {
}
int len() const { return _b.len(); }
+ int arrSize() const { return _i; }
private:
void fill( const StringData& name ) {