fix compiler issues with pair<T1,T2> construction
This commit is contained in:
parent
d0f5958542
commit
51064f77a8
@ -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) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user