fix ambiguity in VCA constructors
This commit is contained in:
parent
dc9f579a8b
commit
dd31ef2d1b
@ -35,7 +35,7 @@ class Route;
|
||||
|
||||
class LIBARDOUR_API VCA : public SessionHandleRef, public PBD::StatefulDestructible, public Automatable {
|
||||
public:
|
||||
VCA (Session& session, const std::string& name, uint32_t num);
|
||||
VCA (Session& session, uint32_t num, const std::string& name);
|
||||
VCA (Session& session, XMLNode const&, int version);
|
||||
~VCA();
|
||||
|
||||
|
@ -47,7 +47,7 @@ VCA::next_vca_number ()
|
||||
return g_atomic_int_add (&next_number, 1) + 1;
|
||||
}
|
||||
|
||||
VCA::VCA (Session& s, const string& name, uint32_t num)
|
||||
VCA::VCA (Session& s, uint32_t num, const string& name)
|
||||
: SessionHandleRef (s)
|
||||
, Automatable (s)
|
||||
, _number (num)
|
||||
|
@ -73,7 +73,7 @@ VCAManager::create_vca (uint32_t howmany, std::string const & name_template)
|
||||
replace_all (name, "%n", sn);
|
||||
}
|
||||
|
||||
boost::shared_ptr<VCA> vca = boost::shared_ptr<VCA> (new VCA (_session, name, num));
|
||||
boost::shared_ptr<VCA> vca = boost::shared_ptr<VCA> (new VCA (_session, num, name));
|
||||
|
||||
_vcas.push_back (vca);
|
||||
vcal.push_back (vca);
|
||||
|
Loading…
Reference in New Issue
Block a user