diff options
author | Robin Gareus <robin@gareus.org> | 2017-06-25 01:56:53 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-06-25 01:57:19 +0200 |
commit | cc7ff53e1f70c8ff6eab692de7adf815bf83ff91 (patch) | |
tree | d98382ec0ba11ed124c917f39c251297cea230fa /libs/ardour/ardour/smf_source.h | |
parent | a1c5d1be43007265ef1257889a3138b0fa75c2ac (diff) |
Create a deep-copy of MIDI sources when saving snapshots
Diffstat (limited to 'libs/ardour/ardour/smf_source.h')
-rw-r--r-- | libs/ardour/ardour/smf_source.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/ardour/smf_source.h b/libs/ardour/ardour/smf_source.h index 979c20dd21..9bc6584355 100644 --- a/libs/ardour/ardour/smf_source.h +++ b/libs/ardour/ardour/smf_source.h @@ -70,10 +70,10 @@ public: static bool valid_midi_file (const std::string& path); void prevent_deletion (); + void set_path (const std::string& newpath); protected: void close (); - void set_path (const std::string& newpath); void flush_midi (const Lock& lock); private: |