summaryrefslogtreecommitdiff
path: root/dbtests/jsobjtests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dbtests/jsobjtests.cpp')
-rw-r--r--dbtests/jsobjtests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbtests/jsobjtests.cpp b/dbtests/jsobjtests.cpp
index abcfa3f8047..1199858f97c 100644
--- a/dbtests/jsobjtests.cpp
+++ b/dbtests/jsobjtests.cpp
@@ -36,12 +36,12 @@ namespace JsobjTests {
protected:
static BSONObj basic( const char *name, int val ) {
BSONObjBuilder b;
- b.appendInt( name, val );
+ b.append( name, val );
return b.obj();
}
static BSONObj basic( const char *name, vector< int > val ) {
BSONObjBuilder b;
- b.appendIntArray( name, val );
+ b.append( name, val );
return b.obj();
}
template< class T >