Remove LocaleGuard from ARDOUR::IO class state methods

There are no float <=> string conversions that require a LocaleGuard and all
conversions are performed using PBD::to_string/string_to via XMLNode
This commit is contained in:
Tim Mayberry 2016-09-04 20:51:06 +10:00
parent 93e3f981fa
commit ecaadaf246

View File

@ -553,7 +553,6 @@ IO::state (bool /*full_state*/)
{
XMLNode* node = new XMLNode (state_node_name);
int n;
LocaleGuard lg;
Glib::Threads::Mutex::Lock lm (io_lock);
node->set_property ("name", name());
@ -616,9 +615,6 @@ IO::set_state (const XMLNode& node, int version)
*/
assert (version >= 3000);
XMLNodeConstIterator iter;
LocaleGuard lg;
/* force use of non-localized representation of decimal point,
since we use it a lot in XML files and so forth.
*/