diff options
author | Aaron <aaron@10gen.com> | 2009-09-07 13:49:22 -0700 |
---|---|---|
committer | Aaron <aaron@10gen.com> | 2009-09-07 13:49:22 -0700 |
commit | 4a7330fd229cbaa43c4224c23a5f2383f5d5c75f (patch) | |
tree | 0a66bc730b3bcd3b8f251d5d9e952493230196a2 /db/queryutil.h | |
parent | da4030319659ba6fb2bf489d78bcc6f7693188b2 (diff) | |
download | mongo-4a7330fd229cbaa43c4224c23a5f2383f5d5c75f.tar.gz |
SERVER-100 generate precise btree intervals in FieldRangeSet::indexBounds
Diffstat (limited to 'db/queryutil.h')
-rw-r--r-- | db/queryutil.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/queryutil.h b/db/queryutil.h index 67141fd8cb5..b4a9cdc5253 100644 --- a/db/queryutil.h +++ b/db/queryutil.h @@ -63,7 +63,7 @@ namespace mongo { maxKey.firstElement().woCompare( max(), false ) != 0; } bool empty() const { return intervals_.empty(); } - vector< FieldInterval > intervals() const { return intervals_; } + const vector< FieldInterval > &intervals() const { return intervals_; } private: BSONObj addObj( const BSONObj &o ); string simpleRegexEnd( string regex ); |