mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 16:46:35 +01:00
Remove LocaleGuards from LuaInstance state methods
There are no float <=> string conversions in these methods and g_base64_encode etc functions are not affected by locale.
This commit is contained in:
parent
88cc2e951c
commit
43a663948c
1 changed files with 0 additions and 2 deletions
|
|
@ -1143,7 +1143,6 @@ LuaInstance::every_point_one_seconds ()
|
|||
int
|
||||
LuaInstance::set_state (const XMLNode& node)
|
||||
{
|
||||
LocaleGuard lg;
|
||||
XMLNode* child;
|
||||
|
||||
if ((child = find_named_node (node, "ActionScript"))) {
|
||||
|
|
@ -1276,7 +1275,6 @@ LuaInstance::interactive_add (LuaScriptInfo::ScriptType type, int id)
|
|||
XMLNode&
|
||||
LuaInstance::get_action_state ()
|
||||
{
|
||||
LocaleGuard lg;
|
||||
std::string saved;
|
||||
{
|
||||
luabridge::LuaRef savedstate ((*_lua_save)());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue