libtemporal: tweak: don't both with local tempo map ptr

This commit is contained in:
Paul Davis 2021-02-14 16:43:07 -07:00
parent b66b98ce58
commit 2049cc44b2

View File

@ -105,8 +105,7 @@ Beats
timecnt_t::compute_beats() const
{
assert (!_distance.flagged());
TempoMap::SharedPtr tm (TempoMap::use());
return tm->full_duration_at (_position, *this, BeatTime).beats();
return TempoMap::use()->full_duration_at (_position, *this, BeatTime).beats();
}
timecnt_t