diff options
author | Aaron <aaron@10gen.com> | 2010-06-03 12:50:49 -0700 |
---|---|---|
committer | Aaron <aaron@10gen.com> | 2010-06-03 12:50:49 -0700 |
commit | d7f94346d01e6431a82cc45912981e665b6dfa32 (patch) | |
tree | 1710a06d31ddfe4484121660f19443b53c984a4f /db/matcher.h | |
parent | 43554f2403b2808e0e177eb6bfcf5323db9c4b5b (diff) | |
download | mongo-d7f94346d01e6431a82cc45912981e665b6dfa32.tar.gz |
SERVER-109 comments/cleanup
Diffstat (limited to 'db/matcher.h')
-rw-r--r-- | db/matcher.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/db/matcher.h b/db/matcher.h index 036193a4f6e..2a1a73a7ddc 100644 --- a/db/matcher.h +++ b/db/matcher.h @@ -134,8 +134,6 @@ namespace mongo { return op <= BSONObj::LTE ? -1 : 1; } - // Only specify constrainIndexKey if matches() will be called with - // index keys having empty string field names. Matcher(const BSONObj &pattern, bool subMatcher = false); ~Matcher(); @@ -160,6 +158,8 @@ namespace mongo { bool sameCriteriaCount( const Matcher &other ) const; private: + // Only specify constrainIndexKey if matches() will be called with + // index keys having empty string field names. Matcher( const Matcher &other, const BSONObj &constrainIndexKey ); void addBasic(const BSONElement &e, int c, bool isNot) { @@ -229,7 +229,6 @@ namespace mongo { shared_ptr< Matcher > _docMatcher; Matcher _keyMatcher; bool _needRecord; - bool _orPopped; }; } // namespace mongo |