13
0

Remove LocaleGuard from ARDOUR::MidiDiskstream class

There are no float <=> string conversions in MidiDiskstream state methods,
these guards must have been to protect conversions in Diskstream state methods
which are now using PBD::to_string/string_to via XMLNode so no longer need
guarding.
This commit is contained in:
Tim Mayberry 2016-09-04 21:29:41 +10:00
parent d5cf19d606
commit 482be1410b

View File

@ -1227,7 +1227,6 @@ XMLNode&
MidiDiskstream::get_state ()
{
XMLNode& node (Diskstream::get_state());
LocaleGuard lg;
if (_write_source && _session.get_record_enabled()) {
@ -1262,7 +1261,6 @@ MidiDiskstream::set_state (const XMLNode& node, int version)
XMLNodeList nlist = node.children();
XMLNodeIterator niter;
XMLNode* capture_pending_node = 0;
LocaleGuard lg;
/* prevent write sources from being created */