temporal: map used for ::reftime() must be the one pointed at by TempoMetric

This commit is contained in:
Paul Davis 2023-02-15 18:35:14 -07:00
parent 92f5046ae6
commit a59059c15e
1 changed files with 1 additions and 2 deletions

View File

@ -660,8 +660,7 @@ MeterPoint::get_state () const
timepos_t
TempoMetric::reftime() const
{
TempoMap::SharedPtr tmap (TempoMap::use ());
return tmap->reftime (*this);
return _tempo->map().reftime (*this);
}
timepos_t