summaryrefslogtreecommitdiff
path: root/libs/ardour/luaproc.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-05-07 12:19:41 +0200
committerRobin Gareus <robin@gareus.org>2016-05-07 12:19:41 +0200
commit6d343ba3c607f5210ae03edb17ba51d662c7f79b (patch)
treeec66246b2859834c98fb7673b4f5c4dd7e95f8a0 /libs/ardour/luaproc.cc
parentf445ba8bdcc74943926817a8627741d1fc8dcb3f (diff)
fix LocaleGuard contstructor (3dc77280)
Diffstat (limited to 'libs/ardour/luaproc.cc')
-rw-r--r--libs/ardour/luaproc.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/luaproc.cc b/libs/ardour/luaproc.cc
index 30b34f584b..afdf780204 100644
--- a/libs/ardour/luaproc.cc
+++ b/libs/ardour/luaproc.cc
@@ -713,7 +713,7 @@ LuaProc::add_state (XMLNode* root) const
{
XMLNode* child;
char buf[32];
- LocaleGuard lg ();
+ LocaleGuard lg;
gchar* b64 = g_base64_encode ((const guchar*)_script.c_str (), _script.size ());
std::string b64s (b64);
@@ -783,7 +783,7 @@ LuaProc::set_state (const XMLNode& node, int version)
const char *port;
uint32_t port_id;
#endif
- LocaleGuard lg ();
+ LocaleGuard lg;
if (_script.empty ()) {
if (set_script_from_state (node)) {