projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9954b47
)
Remove LocaleGuard from ARDOUR::Diskstream state method
author
Tim Mayberry
<mojofunk@gmail.com>
Sun, 4 Sep 2016 11:18:47 +0000
(21:18 +1000)
committer
Tim 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
patch
|
blob
|
history
diff --git
a/libs/ardour/diskstream.cc
b/libs/ardour/diskstream.cc
index 566d3bc233c79634dc214b4dbb307004fb4e47e7..f5f62996d3e7780b454d26dcb1e4c74e2daf23a8 100644
(file)
--- 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());