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
|
timecnt_t::compute_beats() const
|
||||||
{
|
{
|
||||||
assert (!_distance.flagged());
|
assert (!_distance.flagged());
|
||||||
TempoMap::SharedPtr tm (TempoMap::use());
|
return TempoMap::use()->full_duration_at (_position, *this, BeatTime).beats();
|
||||||
return tm->full_duration_at (_position, *this, BeatTime).beats();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
timecnt_t
|
timecnt_t
|
||||||
|
|
Loading…
Reference in New Issue
Block a user