From 8713667ec1a6cc9ba56c07f763e5a422cc47fbef Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 15 Oct 2009 18:56:11 +0000 Subject: 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 --- libs/ardour/source.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/source.cc') diff --git a/libs/ardour/source.cc b/libs/ardour/source.cc index 7ed4e584ce..fe8a8a1e0a 100644 --- a/libs/ardour/source.cc +++ b/libs/ardour/source.cc @@ -68,7 +68,7 @@ Source::Source (Session& s, const XMLNode& node) _analysed = false; _in_use = 0; - if (set_state (node) || _type == DataType::NIL) { + if (set_state (node, Stateful::loading_state_version) || _type == DataType::NIL) { throw failed_constructor(); } -- cgit v1.2.3