diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2016-09-04 22:44:27 +1000 |
---|---|---|
committer | Tim Mayberry <mojofunk@gmail.com> | 2017-06-22 10:48:38 +1000 |
commit | 00803ca69b2d808b1e4f88429fff16acd09a7271 (patch) | |
tree | b5b2b74aaec4e3d70cb5af18ed401cb09d8376e2 /libs/ardour/tempo.cc | |
parent | 8d039d3211d4ee62fd74cccd4a8e1ffdc6c8a361 (diff) |
Remove LocaleGuards from ARDOUR::Tempo class
All float <=> string conversions are done for PBD::string_to/to_string and no
longer require a LocaleGuard.
Diffstat (limited to 'libs/ardour/tempo.cc')
-rw-r--r-- | libs/ardour/tempo.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libs/ardour/tempo.cc b/libs/ardour/tempo.cc index 405a13a851..32cb6c67ee 100644 --- a/libs/ardour/tempo.cc +++ b/libs/ardour/tempo.cc @@ -159,8 +159,6 @@ TempoSection::TempoSection (const XMLNode& node, framecnt_t sample_rate) , _locked_to_meter (false) , _clamped (false) { - LocaleGuard lg; - _legacy_bbt = BBT_Time (0, 0, 0); BBT_Time bbt; @@ -242,7 +240,6 @@ XMLNode& TempoSection::get_state() const { XMLNode *root = new XMLNode (xml_state_node_name); - LocaleGuard lg; MetricSection::add_state_to_node (*root); @@ -553,7 +550,6 @@ const string MeterSection::xml_state_node_name = "Meter"; MeterSection::MeterSection (const XMLNode& node, const framecnt_t sample_rate) : MetricSection (0.0, 0, MusicTime, false, sample_rate), Meter (TempoMap::default_meter()) { - LocaleGuard lg; pair<double, BBT_Time> start; start.first = 0.0; @@ -612,7 +608,6 @@ XMLNode& MeterSection::get_state() const { XMLNode *root = new XMLNode (xml_state_node_name); - LocaleGuard lg; MetricSection::add_state_to_node (*root); |