summaryrefslogtreecommitdiff
path: root/libs/ardour/user_bundle.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/user_bundle.cc')
-rw-r--r--libs/ardour/user_bundle.cc4
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 ();
}
}