From: Robin Gareus Date: Sun, 16 Dec 2018 03:15:49 +0000 (+0100) Subject: NO-OP: whitespace X-Git-Url: https://main.carlh.net/gitweb/?p=ardour.git;a=commitdiff_plain;h=f28ccd5e3a1350e09a1bf9ee0734db9b2e5db315 NO-OP: whitespace --- diff --git a/libs/ardour/automatable.cc b/libs/ardour/automatable.cc index 981c4b571f..3e5eec54f7 100644 --- a/libs/ardour/automatable.cc +++ b/libs/ardour/automatable.cc @@ -65,12 +65,12 @@ Automatable::Automatable (const Automatable& other) , _a_session (other._a_session) , _automated_controls (new ControlList) { - Glib::Threads::Mutex::Lock lm (other._control_lock); + Glib::Threads::Mutex::Lock lm (other._control_lock); - for (Controls::const_iterator i = other._controls.begin(); i != other._controls.end(); ++i) { - boost::shared_ptr ac (control_factory (i->first)); + for (Controls::const_iterator i = other._controls.begin(); i != other._controls.end(); ++i) { + boost::shared_ptr ac (control_factory (i->first)); add_control (ac); - } + } } Automatable::~Automatable () @@ -148,7 +148,7 @@ Automatable::load_automation (const string& path) return 0; - bad: +bad: error << string_compose(_("cannot load automation data from %2"), fullpath) << endmsg; controls().clear (); ::fclose (in); @@ -270,11 +270,11 @@ Automatable::set_automation_xml_state (const XMLNode& node, Evoral::Parameter le boost::shared_ptr existing = automation_control (param); if (existing) { - existing->alist()->set_state (**niter, 3000); + existing->alist()->set_state (**niter, 3000); } else { - boost::shared_ptr newcontrol = control_factory(param); + boost::shared_ptr newcontrol = control_factory(param); add_control (newcontrol); - boost::shared_ptr al (new AutomationList(**niter, param)); + boost::shared_ptr al (new AutomationList(**niter, param)); newcontrol->set_list(al); }