Remove redundant checks in SampleRange::overlaps

Originally committed to SVN as r4909.
This commit is contained in:
Thomas Goyne 2010-12-08 08:09:30 +00:00
parent b134428668
commit 82eddf53ea

View file

@ -105,10 +105,7 @@ public:
/// Determine whether there is an overlap between two ranges
bool overlaps(const SampleRange &other) const
{
return other.contains(_begin)
|| other.contains(_end)
|| contains(other._begin)
|| contains(other._end);
return other.contains(_begin) || contains(other._begin);
}
};