From e1adc1a3e1ee01ba2e50c5ff0de0cef649cf0ef4 Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Sat, 27 Aug 2016 16:08:48 +1000 Subject: [PATCH] Use XMLNode::set_property in ARDOUR::Amp class --- libs/ardour/amp.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/amp.cc b/libs/ardour/amp.cc index e2788060bc..98257ddd7a 100644 --- a/libs/ardour/amp.cc +++ b/libs/ardour/amp.cc @@ -359,7 +359,7 @@ XMLNode& Amp::state (bool full_state) { XMLNode& node (Processor::state (full_state)); - node.add_property("type", _gain_control->parameter().type() == GainAutomation ? "amp" : "trim"); + node.set_property("type", _gain_control->parameter().type() == GainAutomation ? "amp" : "trim"); node.add_child_nocopy (_gain_control->get_state()); return node; -- 2.30.2