mirror of https://github.com/odrling/Aegisub
Remove redundant checks in SampleRange::overlaps
Originally committed to SVN as r4909.
This commit is contained in:
parent
b134428668
commit
82eddf53ea
|
@ -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 New Issue