summaryrefslogtreecommitdiff
path: root/libs/ardour/io.cc
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2016-09-04 20:51:06 +1000
committerTim Mayberry <mojofunk@gmail.com>2017-06-22 10:48:38 +1000
commiteb5161b6012a73eae0a288d71727edcfd161d16a (patch)
treea7930db05d95cdbf7e3e308dd9c0dc78d41b595b /libs/ardour/io.cc
parent6ab970efa35ee9ff01c5a68b42699945074198a8 (diff)
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
Diffstat (limited to 'libs/ardour/io.cc')
-rw-r--r--libs/ardour/io.cc4
1 files changed, 0 insertions, 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.
*/