diff --git a/src/core/qgsrange.h b/src/core/qgsrange.h index d2d68f081b41..8760c145fbfe 100644 --- a/src/core/qgsrange.h +++ b/src/core/qgsrange.h @@ -571,7 +571,7 @@ class QgsTemporalRange */ bool overlaps( const QgsTemporalRange &other ) const { - // one of both range is infinite + // one or both range is infinite if ( isInfinite() || other.isInfinite() ) return true;