diff options
author | Eliot Horowitz <eliot@10gen.com> | 2010-01-15 17:22:11 -0500 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2010-01-15 17:22:11 -0500 |
commit | 9f004b0cb219aee5a7571ba49a46377541e80023 (patch) | |
tree | 905d781fef2945c32d45b4b79dd1c2e8f6c00cf7 /db/index.h | |
parent | efbf3382cd76ef742e31a75e699c17864929723b (diff) | |
download | mongo-9f004b0cb219aee5a7571ba49a46377541e80023.tar.gz |
small optimization
Diffstat (limited to 'db/index.h')
-rw-r--r-- | db/index.h | 5 |
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(); }; |