remove another instance of std::numeric_limits<timepos_t>::max()

This commit is contained in:
Paul Davis 2021-12-05 09:22:02 -07:00
parent 646d1e9a22
commit d7fdec2ef5
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ TimeSelection::start_time () const
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) {
if ((*i).start() < first) {