Fix incorrect call of Send constructor with Delivery::Role passed to state version parameter.

git-svn-id: svn://localhost/ardour2/branches/3.0@6158 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington
2009-11-23 18:09:33 +00:00
parent 608d1cc7b0
commit 2256c2e534

View File

@@ -47,7 +47,7 @@ InternalSend::InternalSend (Session& s, boost::shared_ptr<MuteMaster> mm, boost:
}
InternalSend::InternalSend (Session& s, boost::shared_ptr<MuteMaster> mm, const XMLNode& node)
: Send (s, mm, node, Delivery::Aux /* will be reset in set_state() */)
: Send (s, mm, node, Stateful::loading_state_version, Delivery::Aux /* will be reset in set_state() */)
{
set_state (node, Stateful::loading_state_version);
}