From 34a3db7eaa8ca2161e43089c4c74de6ebf7a3143 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 10 Feb 2021 09:31:13 -0700 Subject: [PATCH] use existing (inline) method for updating thread local tempo map after update (avoid code duplication) --- libs/temporal/tempo.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/temporal/tempo.cc b/libs/temporal/tempo.cc index e994b9630f..f3da79762f 100644 --- a/libs/temporal/tempo.cc +++ b/libs/temporal/tempo.cc @@ -3075,7 +3075,7 @@ TempoMap::update (TempoMap::SharedPtr m) _map_mgr.update (m); /* update thread local map pointer in the calling thread */ - _tempo_map_p = _map_mgr.reader(); + update_thread_tempo_map (); cerr << "New tempo map:\n"; _tempo_map_p->dump (cerr);