13
0

move TempoMap::write_copy() into .cc file instead of .h

This commit is contained in:
Paul Davis 2021-03-22 16:03:45 -06:00
parent 2ec93062d9
commit 216945a89c
2 changed files with 7 additions and 1 deletions

View File

@ -3112,6 +3112,12 @@ TempoMap::init ()
fetch ();
}
TempoMap::SharedPtr
TempoMap::write_copy()
{
return _map_mgr.write_copy();
}
int
TempoMap::update (TempoMap::SharedPtr m)
{

View File

@ -653,7 +653,7 @@ class LIBTEMPORAL_API TempoMap : public PBD::StatefulDestructible
static SharedPtr use() { assert (_tempo_map_p); return _tempo_map_p; }
static SharedPtr fetch() { update_thread_tempo_map(); return use(); }
static SharedPtr write_copy() { return _map_mgr.write_copy(); }
static SharedPtr write_copy();
static void fetch_writable() { _tempo_map_p = write_copy(); }
static int update (SharedPtr m);
static void abort_update ();