13
0

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

This commit is contained in:
Paul Davis 2021-12-05 09:23:33 -07:00
parent a72108636b
commit 887cd070b0

View File

@ -1328,7 +1328,7 @@ Locations::first_mark_after (timepos_t const & pos, bool include_special_ranges)
void
Locations::marks_either_side (timepos_t const & pos, timepos_t& before, timepos_t& after) const
{
before = after = std::numeric_limits<timepos_t>::max();
before = after = timepos_t::max (pos.time_domain());
LocationList locs;