13
0

Use PBD::string_to<bool> in ARDOUR::Processor class

This commit is contained in:
Tim Mayberry 2016-08-31 15:36:01 +10:00
parent 603d944530
commit 9ce1d7c357

View File

@ -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 ();