From 8b10ed2478925ee71b2383ff8a38b9503e2642eb Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Wed, 21 Jun 2017 21:23:56 +1000 Subject: Remove LocaleGuards from LadspaPlugin::set/add_state String <-> type conversion is being performed by the pbd/string_convert.h API via PBD::XMLNode so LocaleGuards are not necessary. --- libs/ardour/ladspa_plugin.cc | 2 -- 1 file changed, 2 deletions(-) (limited to 'libs/ardour/ladspa_plugin.cc') diff --git a/libs/ardour/ladspa_plugin.cc b/libs/ardour/ladspa_plugin.cc index 1682db3273..3100b0891f 100644 --- a/libs/ardour/ladspa_plugin.cc +++ b/libs/ardour/ladspa_plugin.cc @@ -348,7 +348,6 @@ void LadspaPlugin::add_state (XMLNode* root) const { XMLNode *child; - LocaleGuard lg; for (uint32_t i = 0; i < parameter_count(); ++i){ @@ -375,7 +374,6 @@ LadspaPlugin::set_state (const XMLNode& node, int version) XMLNodeConstIterator iter; XMLNode *child; #endif - LocaleGuard lg; if (node.name() != state_node_name()) { error << _("Bad node sent to LadspaPlugin::set_state") << endmsg; -- cgit v1.2.3