summaryrefslogtreecommitdiff
path: root/src/mongo/db/queryutil.h
diff options
context:
space:
mode:
authorAaron <aaron@10gen.com>2012-03-21 17:33:13 -0700
committerAaron <aaron@10gen.com>2012-03-22 11:12:47 -0700
commitc741ded21b940289ab3402104d34c7a50c527645 (patch)
tree8f958777c375b4afd1ed6216ae82063aba90bffb /src/mongo/db/queryutil.h
parent71c195887ee391f42afb0e5bbd8ba182b6f09c1a (diff)
downloadmongo-c741ded21b940289ab3402104d34c7a50c527645.tar.gz
Fix definitions of FieldBound and FieldInterval.
Diffstat (limited to 'src/mongo/db/queryutil.h')
-rw-r--r--src/mongo/db/queryutil.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/queryutil.h b/src/mongo/db/queryutil.h
index 865dbda0d0d..40553c91a94 100644
--- a/src/mongo/db/queryutil.h
+++ b/src/mongo/db/queryutil.h
@@ -249,8 +249,8 @@ namespace mongo {
};
/**
- * One side of an interval of valid BSONElements, specified by a value and a
- * boolean indicating whether the interval includes the value.
+ * One side of an interval of BSONElements, defined by a value and a boolean indicating if the
+ * interval includes the value.
*/
struct FieldBound {
BSONElement _bound;
@@ -262,7 +262,7 @@ namespace mongo {
void flipInclusive() { _inclusive = !_inclusive; }
};
- /** A closed interval composed of a lower and an upper FieldBound. */
+ /** An interval defined between a lower and an upper FieldBound. */
struct FieldInterval {
FieldInterval() : _cachedEquality( -1 ) {}
FieldInterval( const BSONElement& e ) : _cachedEquality( -1 ) {