Add const

This commit is contained in:
Aaron
2009-02-24 18:37:42 -05:00
parent 1f67174066
commit dee1ff96b9
2 changed files with 2 additions and 2 deletions

View File

@@ -91,7 +91,7 @@ namespace mongo {
}
}
FieldBound &FieldBound::operator&=( const FieldBound &other ) {
const FieldBound &FieldBound::operator&=( const FieldBound &other ) {
if ( other.upper_.woCompare( upper_, false ) < 0 )
upper_ = other.upper_;
if ( other.lower_.woCompare( lower_, false ) > 0 )