summaryrefslogtreecommitdiff
path: root/libs/ardour/session_state.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/session_state.cc')
-rw-r--r--libs/ardour/session_state.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc
index 9a359e1b05..b925e9416e 100644
--- a/libs/ardour/session_state.cc
+++ b/libs/ardour/session_state.cc
@@ -221,7 +221,7 @@ Session::first_stage_init (string fullpath, string snapshot_name)
midi_control_ui = 0;
_step_editors = 0;
no_questions_about_missing_files = false;
- _speakers = new Speakers;
+ _speakers.reset (new Speakers);
AudioDiskstream::allocate_working_buffers();
@@ -1186,9 +1186,7 @@ Session::state(bool full_state)
}
node->add_child_nocopy (_speakers->get_state());
-
node->add_child_nocopy (_tempo_map->get_state());
-
node->add_child_nocopy (get_control_protocol_state());
if (_extra_xml) {