Remove LocaleGuard from ARDOUR::RCConfiguration class

This presumes that all ControlProtocol implementations either use
PBD::to_string/string_to for float <=> string conversions, which is now the
case.
This commit is contained in:
Tim Mayberry
2016-09-04 22:04:00 +10:00
parent 579d856cc7
commit 1a39da25e4

View File

@@ -173,7 +173,6 @@ XMLNode&
RCConfiguration::get_state ()
{
XMLNode* root;
LocaleGuard lg;
root = new XMLNode("Ardour");
@@ -194,7 +193,6 @@ XMLNode&
RCConfiguration::get_variables ()
{
XMLNode* node;
LocaleGuard lg;
node = new XMLNode ("Config");
@@ -221,7 +219,6 @@ RCConfiguration::set_state (const XMLNode& root, int version)
XMLNodeList nlist = root.children();
XMLNodeConstIterator niter;
XMLNode *node;
LocaleGuard lg;
Stateful::save_extra_xml (root);