mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
remove another instance of std::numeric_limits<timepos_t>::max()
This commit is contained in:
parent
646d1e9a22
commit
d7fdec2ef5
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue