summaryrefslogtreecommitdiff
path: root/db/index.h
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2010-01-15 17:22:11 -0500
committerEliot Horowitz <eliot@10gen.com>2010-01-15 17:22:11 -0500
commit9f004b0cb219aee5a7571ba49a46377541e80023 (patch)
tree905d781fef2945c32d45b4b79dd1c2e8f6c00cf7 /db/index.h
parentefbf3382cd76ef742e31a75e699c17864929723b (diff)
downloadmongo-9f004b0cb219aee5a7571ba49a46377541e80023.tar.gz
small optimization
Diffstat (limited to 'db/index.h')
-rw-r--r--db/index.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/db/index.h b/db/index.h
index e917ef4bdfc..a969ed46bb2 100644
--- a/db/index.h
+++ b/db/index.h
@@ -63,7 +63,10 @@ namespace mongo {
vector<const char*> _fieldNames;
vector<BSONElement> _fixed;
BSONObj _nullKey;
-
+
+ BSONObj _nullObj;
+ BSONElement _nullElt;
+
void _init();
};