mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 19:56:31 +01:00
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:
parent
6ab970efa3
commit
eb5161b601
1 changed files with 0 additions and 4 deletions
|
|
@ -553,7 +553,6 @@ IO::state (bool /*full_state*/)
|
||||||
{
|
{
|
||||||
XMLNode* node = new XMLNode (state_node_name);
|
XMLNode* node = new XMLNode (state_node_name);
|
||||||
int n;
|
int n;
|
||||||
LocaleGuard lg;
|
|
||||||
Glib::Threads::Mutex::Lock lm (io_lock);
|
Glib::Threads::Mutex::Lock lm (io_lock);
|
||||||
|
|
||||||
node->set_property ("name", name());
|
node->set_property ("name", name());
|
||||||
|
|
@ -616,9 +615,6 @@ IO::set_state (const XMLNode& node, int version)
|
||||||
*/
|
*/
|
||||||
assert (version >= 3000);
|
assert (version >= 3000);
|
||||||
|
|
||||||
XMLNodeConstIterator iter;
|
|
||||||
LocaleGuard lg;
|
|
||||||
|
|
||||||
/* force use of non-localized representation of decimal point,
|
/* force use of non-localized representation of decimal point,
|
||||||
since we use it a lot in XML files and so forth.
|
since we use it a lot in XML files and so forth.
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue