diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-10-15 18:56:11 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-10-15 18:56:11 +0000 |
commit | 8713667ec1a6cc9ba56c07f763e5a422cc47fbef (patch) | |
tree | 56727634d8a1567679a7ba76cff93bf06e7c271f /libs/ardour/rc_configuration.cc | |
parent | 79f91c7a205d981d2b8cc15e32a6da02d8423065 (diff) |
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
Diffstat (limited to 'libs/ardour/rc_configuration.cc')
-rw-r--r-- | libs/ardour/rc_configuration.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/rc_configuration.cc b/libs/ardour/rc_configuration.cc index afa9a2a4c3..725225b8d0 100644 --- a/libs/ardour/rc_configuration.cc +++ b/libs/ardour/rc_configuration.cc @@ -97,7 +97,7 @@ RCConfiguration::load_state () return -1; } - if (set_state (*tree.root())) { + if (set_state (*tree.root(), Stateful::current_state_version)) { error << string_compose(_("Ardour: system configuration file \"%1\" not loaded successfully."), rcfile) << endmsg; return -1; } @@ -132,7 +132,7 @@ RCConfiguration::load_state () return -1; } - if (set_state (*tree.root())) { + if (set_state (*tree.root(), Stateful::current_state_version)) { error << string_compose(_("Ardour: user configuration file \"%1\" not loaded successfully."), rcfile) << endmsg; return -1; } |