move string_is_affirmative() into libpbd
[ardour.git] / libs / ardour / mute_master.cc
index a58bb8a421d11edced397bd4e62c97b49d1564c1..9f2ed08dab5ce5f7fd4af3000d34dec150d7708b 100644 (file)
@@ -20,6 +20,7 @@
 
 #include "pbd/enumwriter.h"
 #include "pbd/xml++.h"
+#include "pbd/convert.h"
 
 #include "ardour/types.h"
 #include "ardour/mute_master.h"
@@ -144,7 +145,7 @@ MuteMaster::set_state (const XMLNode& node, int /*version*/)
        }
 
        if ((prop = node.property ("muted")) != 0) {
-               _muted_by_self = string_is_affirmative (prop->value());
+               _muted_by_self = PBD::string_is_affirmative (prop->value());
        } else {
                 _muted_by_self = (_mute_point != MutePoint (0));
         }