libtemporal: fix TempoMap::fetch_writable() so that it actually does what its name describes
This commit is contained in:
parent
eaedcd79d4
commit
6a9330b2b0
@ -644,7 +644,7 @@ class LIBTEMPORAL_API TempoMap : public PBD::StatefulDestructible
|
|||||||
static SharedPtr fetch() { update_thread_tempo_map(); return use(); }
|
static SharedPtr fetch() { update_thread_tempo_map(); return use(); }
|
||||||
|
|
||||||
static SharedPtr write_copy() { return _map_mgr.write_copy(); }
|
static SharedPtr write_copy() { return _map_mgr.write_copy(); }
|
||||||
static void fetch_writable() { _tempo_map_p = fetch(); }
|
static void fetch_writable() { _tempo_map_p = write_copy(); }
|
||||||
static void update (SharedPtr m) { _map_mgr.update (m); _tempo_map_p = _map_mgr.reader(); }
|
static void update (SharedPtr m) { _map_mgr.update (m); _tempo_map_p = _map_mgr.reader(); }
|
||||||
|
|
||||||
/* and now on with the rest of the show ... */
|
/* and now on with the rest of the show ... */
|
||||||
|
Loading…
Reference in New Issue
Block a user