summaryrefslogtreecommitdiff
path: root/db/introspect.h
diff options
context:
space:
mode:
authorDwight <dmerriman@gmail.com>2008-10-21 16:13:48 -0400
committerDwight <dmerriman@gmail.com>2008-10-21 16:13:48 -0400
commit0aef80f8cc9607db79fbc491d46b054f7504e205 (patch)
tree1de5c3c48744da179fc6996155e9dbc7224ad97c /db/introspect.h
parentb6a466b6194e07e5d5fe8df422fd0ceeaa1e7726 (diff)
downloadmongo-0aef80f8cc9607db79fbc491d46b054f7504e205.tar.gz
rename classes
Diffstat (limited to 'db/introspect.h')
-rw-r--r--db/introspect.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/db/introspect.h b/db/introspect.h
index 317e4fbcd5b..7cb85c686a1 100644
--- a/db/introspect.h
+++ b/db/introspect.h
@@ -28,7 +28,7 @@ auto_ptr<Cursor> getSpecialCursor(const char *ns);
class SingleResultObjCursor : public Cursor {
int i;
protected:
- JSObjBuilder b;
+ BSONObjBuilder b;
void reg(const char *as); /* register as a certain namespace */
public:
SingleResultObjCursor() { i = 0; }
@@ -38,7 +38,7 @@ public:
virtual void fill() = 0;
- virtual JSObj current() {
+ virtual BSONObj current() {
assert(i == 0);
fill();
return b.done();