diff options
author | Robin Gareus <robin@gareus.org> | 2020-03-10 20:19:14 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2020-03-10 20:55:50 +0100 |
commit | ebd743d7951256d420bc4375b60e723f9a47c052 (patch) | |
tree | 074464cfa556e339fccd8512584739fd1165f3b1 /libs/ardour/automatable.cc | |
parent | 2b17ded785be71f93c3f88a5ae1ca38759fb5d7e (diff) |
NO-OP: use set/clear_flag() API instead of set_flags()
Diffstat (limited to 'libs/ardour/automatable.cc')
-rw-r--r-- | libs/ardour/automatable.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/automatable.cc b/libs/ardour/automatable.cc index 3486812443..bc5da94500 100644 --- a/libs/ardour/automatable.cc +++ b/libs/ardour/automatable.cc @@ -263,7 +263,7 @@ Automatable::set_automation_xml_state (const XMLNode& node, Evoral::Parameter le if (_can_automate_list.find (param) == _can_automate_list.end ()) { boost::shared_ptr<AutomationControl> actl = automation_control (param); if (actl && (*niter)->children().size() > 0 && Config->get_limit_n_automatables () > 0) { - actl->set_flags (Controllable::Flag ((int)actl->flags() & ~Controllable::NotAutomatable)); + actl->clear_flag (Controllable::NotAutomatable); can_automate (param); info << "Marked parmater as automatable" << endl; } else { |