Remove LocaleGuard from ARDOUR::Diskstream state method
authorTim Mayberry <mojofunk@gmail.com>
Sun, 4 Sep 2016 11:18:47 +0000 (21:18 +1000)
committerTim Mayberry <mojofunk@gmail.com>
Thu, 22 Jun 2017 00:48:38 +0000 (10:48 +1000)
The float conversion in Diskstream::get_state is now done using
PBD::to_string/string_to via XMLNode::set_property API.

There was no explicit LocaleGuard protecting the string -> float conversion to
remove so it was probably protected by the caller.

libs/ardour/diskstream.cc

index 566d3bc233c79634dc214b4dbb307004fb4e47e7..f5f62996d3e7780b454d26dcb1e4c74e2daf23a8 100644 (file)
@@ -483,7 +483,6 @@ XMLNode&
 Diskstream::get_state ()
 {
        XMLNode* node = new XMLNode ("Diskstream");
-       LocaleGuard lg;
 
        node->set_property ("flags", _flags);
        node->set_property ("playlist", _playlist->name());