mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-11 17:16:38 +01:00
Remove unnecessary LocaleGuards from VSTPlugin derived classes
VSTPlugin::set_state and VSTPlugin::add_state methods both already contain LocaleGuard instances.
This commit is contained in:
parent
90f169881f
commit
a65c3ef28f
3 changed files with 0 additions and 3 deletions
|
|
@ -59,7 +59,6 @@ LXVSTPlugin::LXVSTPlugin (const LXVSTPlugin &other)
|
||||||
Session::vst_current_loading_id = 0;
|
Session::vst_current_loading_id = 0;
|
||||||
|
|
||||||
XMLNode* root = new XMLNode (other.state_node_name ());
|
XMLNode* root = new XMLNode (other.state_node_name ());
|
||||||
LocaleGuard lg;
|
|
||||||
other.add_state (root);
|
other.add_state (root);
|
||||||
set_state (*root, Stateful::loading_state_version);
|
set_state (*root, Stateful::loading_state_version);
|
||||||
delete root;
|
delete root;
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,6 @@ MacVSTPlugin::MacVSTPlugin (const MacVSTPlugin &other)
|
||||||
Session::vst_current_loading_id = 0;
|
Session::vst_current_loading_id = 0;
|
||||||
|
|
||||||
XMLNode* root = new XMLNode (other.state_node_name ());
|
XMLNode* root = new XMLNode (other.state_node_name ());
|
||||||
LocaleGuard lg;
|
|
||||||
other.add_state (root);
|
other.add_state (root);
|
||||||
set_state (*root, Stateful::loading_state_version);
|
set_state (*root, Stateful::loading_state_version);
|
||||||
delete root;
|
delete root;
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,6 @@ WindowsVSTPlugin::WindowsVSTPlugin (const WindowsVSTPlugin &other)
|
||||||
Session::vst_current_loading_id = 0;
|
Session::vst_current_loading_id = 0;
|
||||||
|
|
||||||
XMLNode* root = new XMLNode (other.state_node_name ());
|
XMLNode* root = new XMLNode (other.state_node_name ());
|
||||||
LocaleGuard lg;
|
|
||||||
other.add_state (root);
|
other.add_state (root);
|
||||||
set_state (*root, Stateful::loading_state_version);
|
set_state (*root, Stateful::loading_state_version);
|
||||||
delete root;
|
delete root;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue