forked from mia/Aegisub
Remove redundant checks in SampleRange::overlaps
Originally committed to SVN as r4909.
This commit is contained in:
parent
b134428668
commit
82eddf53ea
1 changed files with 1 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue