mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-21 06:06:25 +01:00
rework Stateful::set_state() patch to avoid default version argument
git-svn-id: svn://localhost/ardour2/branches/3.0@5787 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
79f91c7a20
commit
8713667ec1
120 changed files with 270 additions and 236 deletions
|
|
@ -72,7 +72,7 @@ MidiSource::MidiSource (Session& s, const XMLNode& node)
|
|||
_read_data_count = 0;
|
||||
_write_data_count = 0;
|
||||
|
||||
if (set_state (node)) {
|
||||
if (set_state (node, Stateful::loading_state_version)) {
|
||||
throw failed_constructor();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue