std::lower_bound() is not appropriate here. We need to find the first TempoPoint after the given time, then return the one before that.
std::lower_bound() is not appropriate here. We need to find the first TempoPoint after the given time, then return the one before that.