From eb5161b6012a73eae0a288d71727edcfd161d16a Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Sun, 4 Sep 2016 20:51:06 +1000 Subject: [PATCH] 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 --- libs/ardour/io.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libs/ardour/io.cc b/libs/ardour/io.cc index 2dcc9d53a7..1be47f35bf 100644 --- a/libs/ardour/io.cc +++ b/libs/ardour/io.cc @@ -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. */ -- 2.30.2