summaryrefslogtreecommitdiff
path: root/libs/ardour/location.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/location.cc')
-rw-r--r--libs/ardour/location.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/location.cc b/libs/ardour/location.cc
index 5fb0442eba..7b9e706c36 100644
--- a/libs/ardour/location.cc
+++ b/libs/ardour/location.cc
@@ -59,9 +59,9 @@ Location::Location (const Location& other)
_locked = false;
}
-Location::Location (const XMLNode& node, int version)
+Location::Location (const XMLNode& node)
{
- if (set_state (node)) {
+ if (set_state (node, Stateful::loading_state_version)) {
throw failed_constructor ();
}
}