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

View file

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