From 810c6e783374a2768dd4f82a3a8fecc68cdc9ca0 Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Sun, 4 Sep 2016 21:18:47 +1000 Subject: [PATCH] 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. --- libs/ardour/diskstream.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/libs/ardour/diskstream.cc b/libs/ardour/diskstream.cc index 566d3bc233..f5f62996d3 100644 --- a/libs/ardour/diskstream.cc +++ b/libs/ardour/diskstream.cc @@ -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());