diff options
author | Aaron <aaron@10gen.com> | 2009-01-20 16:54:57 -0500 |
---|---|---|
committer | Aaron <aaron@10gen.com> | 2009-01-20 16:54:57 -0500 |
commit | c777160f0ffb463a76b139c897bbb91c8428eb63 (patch) | |
tree | 63e695795445c54bbcd56662b74d7ceb7b7597e2 /db/btree.h | |
parent | 201734cfa742034676c6f3aaf32ae3c00201aae9 (diff) | |
download | mongo-c777160f0ffb463a76b139c897bbb91c8428eb63.tar.gz |
Fix simple match spec for encapsulating elements and numbers
Diffstat (limited to 'db/btree.h')
-rw-r--r-- | db/btree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/btree.h b/db/btree.h index 86284863f1e..75896f8aac3 100644 --- a/db/btree.h +++ b/db/btree.h @@ -200,7 +200,7 @@ namespace mongo { BSONObj endKey; // BSONObj query; // the query we are working on in association with the cursor -- see noMoreMatches() public: - BtreeCursor(IndexDetails&, const BSONObj& startKey, int direction, BSONObj& query); + BtreeCursor(IndexDetails&, const BSONObj& startKey, int direction, const BSONObj& query); virtual bool ok() { return !bucket.isNull(); } |