From 6d343ba3c607f5210ae03edb17ba51d662c7f79b Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 7 May 2016 12:19:41 +0200 Subject: fix LocaleGuard contstructor (3dc77280) --- libs/ardour/audioregion.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libs/ardour/audioregion.cc') diff --git a/libs/ardour/audioregion.cc b/libs/ardour/audioregion.cc index 44e238fb7e..60a6282181 100644 --- a/libs/ardour/audioregion.cc +++ b/libs/ardour/audioregion.cc @@ -771,7 +771,7 @@ AudioRegion::get_basic_state () { XMLNode& node (Region::state ()); char buf[64]; - LocaleGuard lg (); + LocaleGuard lg; snprintf (buf, sizeof (buf), "%u", (uint32_t) _sources.size()); node.add_property ("channels", buf); @@ -784,7 +784,7 @@ AudioRegion::state () { XMLNode& node (get_basic_state()); XMLNode *child; - LocaleGuard lg (); + LocaleGuard lg; child = node.add_child ("Envelope"); @@ -841,7 +841,7 @@ AudioRegion::_set_state (const XMLNode& node, int version, PropertyChange& what_ { const XMLNodeList& nlist = node.children(); XMLProperty const * prop; - LocaleGuard lg (); + LocaleGuard lg; boost::shared_ptr the_playlist (_playlist.lock()); suspend_property_changes (); -- cgit v1.2.3