summaryrefslogtreecommitdiff
path: root/db/matcher.h
diff options
context:
space:
mode:
authorAaron <aaron@10gen.com>2010-06-03 12:50:49 -0700
committerAaron <aaron@10gen.com>2010-06-03 12:50:49 -0700
commitd7f94346d01e6431a82cc45912981e665b6dfa32 (patch)
tree1710a06d31ddfe4484121660f19443b53c984a4f /db/matcher.h
parent43554f2403b2808e0e177eb6bfcf5323db9c4b5b (diff)
downloadmongo-d7f94346d01e6431a82cc45912981e665b6dfa32.tar.gz
SERVER-109 comments/cleanup
Diffstat (limited to 'db/matcher.h')
-rw-r--r--db/matcher.h5
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