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
/
pbd
/
pbd
/
memento_command.h
diff --git
a/libs/pbd/pbd/memento_command.h
b/libs/pbd/pbd/memento_command.h
index b1347c169d827054719e653ace891019bf7d8e88..c1e5d75f9c15f4ff3e3208a1bd50f09a9605b23b 100644
(file)
--- a/
libs/pbd/pbd/memento_command.h
+++ b/
libs/pbd/pbd/memento_command.h
@@
-54,13
+54,13
@@
public:
void operator() () {
if (after) {
- obj.set_state(*after);
+ obj.set_state(*after
, Stateful::current_state_version
);
}
}
void undo() {
if (before) {
- obj.set_state(*before);
+ obj.set_state(*before
, Stateful::current_state_version
);
}
}