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/user_bundle.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/user_bundle.cc')
-rw-r--r-- | libs/ardour/user_bundle.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/user_bundle.cc b/libs/ardour/user_bundle.cc index 73b5960e03..16ecb88c8d 100644 --- a/libs/ardour/user_bundle.cc +++ b/libs/ardour/user_bundle.cc @@ -15,10 +15,10 @@ ARDOUR::UserBundle::UserBundle (std::string const & n) } -ARDOUR::UserBundle::UserBundle (XMLNode const & x, bool i) +ARDOUR::UserBundle::UserBundle (XMLNode const & node, bool i) : Bundle (i) { - if (set_state (x)) { + if (set_state (node, Stateful::loading_state_version)) { throw failed_constructor (); } } |