Use PBD::string_to<bool> in ARDOUR::Processor class
This commit is contained in:
parent
603d944530
commit
9ce1d7c357
@ -227,7 +227,7 @@ Processor::set_state (const XMLNode& node, int version)
|
||||
}
|
||||
}
|
||||
|
||||
bool const a = string_is_affirmative (prop->value ()) && !_session.get_bypass_all_loaded_plugins();
|
||||
bool const a = string_to<bool> (prop->value ()) && !_session.get_bypass_all_loaded_plugins();
|
||||
if (_active != a) {
|
||||
if (a) {
|
||||
activate ();
|
||||
|
Loading…
Reference in New Issue
Block a user