projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rework Stateful::set_state() patch to avoid default version argument
[ardour.git]
/
libs
/
ardour
/
midi_model.cc
diff --git
a/libs/ardour/midi_model.cc
b/libs/ardour/midi_model.cc
index df34d13a244d3de9c509e2f28c89389794bf35e3..eb69a2a906d032e3e67fe1f78eeff264b70679aa 100644
(file)
--- a/
libs/ardour/midi_model.cc
+++ b/
libs/ardour/midi_model.cc
@@
-112,7
+112,7
@@
MidiModel::DeltaCommand::DeltaCommand(boost::shared_ptr<MidiModel> m, const XMLN
: _model(m)
{
assert(_model);
- set_state(node);
+ set_state(node
, Stateful::loading_state_version
);
}
void
@@
-321,7
+321,7
@@
MidiModel::DiffCommand::DiffCommand(boost::shared_ptr<MidiModel> m, const XMLNod
: _model(m)
{
assert(_model);
- set_state(node);
+ set_state(node
, Stateful::loading_state_version
);
}
void