libtemporal: tweak: don't both with local tempo map ptr
This commit is contained in:
parent
b66b98ce58
commit
2049cc44b2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user