From 887cd070b036abe66d0e1595dba2873e187ead37 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 5 Dec 2021 09:23:33 -0700 Subject: [PATCH] remove another instance of std::numeric_limits::max() --- libs/ardour/location.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/location.cc b/libs/ardour/location.cc index f8a8b041e3..6a340847ad 100644 --- a/libs/ardour/location.cc +++ b/libs/ardour/location.cc @@ -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::max(); + before = after = timepos_t::max (pos.time_domain()); LocationList locs;