From c777160f0ffb463a76b139c897bbb91c8428eb63 Mon Sep 17 00:00:00 2001 From: Aaron Date: Tue, 20 Jan 2009 16:54:57 -0500 Subject: Fix simple match spec for encapsulating elements and numbers --- db/btree.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'db/btree.h') 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(); } -- cgit v1.2.1