mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-29 16:33:14 +01:00
Remove LocaleGuards from ARDOUR::Tempo class
All float <=> string conversions are done for PBD::string_to/to_string and no longer require a LocaleGuard.
This commit is contained in:
parent
1848a6f7a3
commit
198b28cbad
1 changed files with 0 additions and 5 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue