Remove LocaleGuard from ARDOUR::Diskstream state method

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.
This commit is contained in:
Tim Mayberry 2016-09-04 21:18:47 +10:00
parent f6529c7bde
commit 706db9e041

View 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());