summaryrefslogtreecommitdiff
path: root/libs/ardour/tempo.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/tempo.cc
parentf445ba8bdcc74943926817a8627741d1fc8dcb3f (diff)
fix LocaleGuard contstructor (3dc77280)
Diffstat (limited to 'libs/ardour/tempo.cc')
-rw-r--r--libs/ardour/tempo.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/ardour/tempo.cc b/libs/ardour/tempo.cc
index 1d5c3f898c..445fc7bab3 100644
--- a/libs/ardour/tempo.cc
+++ b/libs/ardour/tempo.cc
@@ -74,7 +74,7 @@ TempoSection::TempoSection (const XMLNode& node)
{
XMLProperty const * prop;
BBT_Time start;
- LocaleGuard lg ();
+ LocaleGuard lg;
if ((prop = node.property ("start")) == 0) {
error << _("TempoSection XML node has no \"start\" property") << endmsg;
@@ -133,7 +133,7 @@ TempoSection::get_state() const
{
XMLNode *root = new XMLNode (xml_state_node_name);
char buf[256];
- LocaleGuard lg ();
+ LocaleGuard lg;
snprintf (buf, sizeof (buf), "%" PRIu32 "|%" PRIu32 "|%" PRIu32,
start().bars,
@@ -196,7 +196,7 @@ MeterSection::MeterSection (const XMLNode& node)
{
XMLProperty const * prop;
BBT_Time start;
- LocaleGuard lg ();
+ LocaleGuard lg;
if ((prop = node.property ("start")) == 0) {
error << _("MeterSection XML node has no \"start\" property") << endmsg;
@@ -250,7 +250,7 @@ MeterSection::get_state() const
{
XMLNode *root = new XMLNode (xml_state_node_name);
char buf[256];
- LocaleGuard lg ();
+ LocaleGuard lg;
snprintf (buf, sizeof (buf), "%" PRIu32 "|%" PRIu32 "|%" PRIu32,
start().bars,