diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-04-23 13:16:53 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-05-31 15:30:41 -0400 |
commit | 51064f77a874f15c2cebd4fed12996177f951936 (patch) | |
tree | fd553da7437e4de2fc91e84a2dc72e669d2e0e95 /libs/ardour/slavable_automation_control.cc | |
parent | d0f5958542a54bb7d463323be532e48540c84789 (diff) |
fix compiler issues with pair<T1,T2> construction
Diffstat (limited to 'libs/ardour/slavable_automation_control.cc')
-rw-r--r-- | libs/ardour/slavable_automation_control.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libs/ardour/slavable_automation_control.cc b/libs/ardour/slavable_automation_control.cc index 80da038afe..8c50863d95 100644 --- a/libs/ardour/slavable_automation_control.cc +++ b/libs/ardour/slavable_automation_control.cc @@ -127,9 +127,8 @@ SlavableAutomationControl::add_master (boost::shared_ptr<AutomationControl> m) /* ratio will be recomputed below */ - PBD::ID id (m->id()); - - res = _masters.insert (make_pair<PBD::ID,MasterRecord> (id, MasterRecord (m, 1.0))); + pair<PBD::ID,MasterRecord> newpair (m->id(), MasterRecord (m, 1.0)); + res = _masters.insert (newpair); if (res.second) { |