remove another instance of std::numeric_limits<timepos_t>::max()
This commit is contained in:
parent
646d1e9a22
commit
d7fdec2ef5
|
@ -93,7 +93,7 @@ TimeSelection::start_time () const
|
||||||
return timepos_t();
|
return timepos_t();
|
||||||
}
|
}
|
||||||
|
|
||||||
timepos_t first = std::numeric_limits<timepos_t>::max();
|
timepos_t first = timepos_t::max (front().start().time_domain());
|
||||||
|
|
||||||
for (std::list<TimelineRange>::const_iterator i = begin(); i != end(); ++i) {
|
for (std::list<TimelineRange>::const_iterator i = begin(); i != end(); ++i) {
|
||||||
if ((*i).start() < first) {
|
if ((*i).start() < first) {
|
||||||
|
|
Loading…
Reference in New Issue