diff options
author | Robin Gareus <robin@gareus.org> | 2016-05-07 12:20:40 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-05-07 12:20:40 +0200 |
commit | a6e449448210dacf29ed5cfa040014fe06d8eaa3 (patch) | |
tree | 375dd53a686b31ad5b85d251249a4157a501e0c4 | |
parent | 6d343ba3c607f5210ae03edb17ba51d662c7f79b (diff) |
Revert "Add a global state localeguard (and one for route templates)"
This reverts commit 2b7a047e92bc5ebe3287860ff9c9f2fb0acb193c.
-rw-r--r-- | libs/ardour/route.cc | 1 | ||||
-rw-r--r-- | libs/ardour/session_state.cc | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index 79799ce807..06a4545785 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -2704,7 +2704,6 @@ Route::get_template() XMLNode& Route::state(bool full_state) { - LocaleGuard lg; if (!_session._template_state_dir.empty()) { assert (!full_state); // only for templates foreach_processor (sigc::bind (sigc::mem_fun (*this, &Route::set_plugin_state_dir), _session._template_state_dir)); diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc index adffb5cbee..764ce16f26 100644 --- a/libs/ardour/session_state.cc +++ b/libs/ardour/session_state.cc @@ -1037,7 +1037,6 @@ Session::get_template() XMLNode& Session::state (bool full_state) { - LocaleGuard lg (); XMLNode* node = new XMLNode("Session"); XMLNode* child; @@ -1299,7 +1298,6 @@ Session::get_control_protocol_state () int Session::set_state (const XMLNode& node, int version) { - LocaleGuard lg (); XMLNodeList nlist; XMLNode* child; XMLProperty const * prop; |