summaryrefslogtreecommitdiff
path: root/libs/ardour/crossfade.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-10-18 13:18:47 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-10-18 13:18:47 +0000
commit4085309cdb07f011756a9ab90047037ef9ad8f20 (patch)
tree22fb3764a0b8120a06397b3605c59589be5f78d8 /libs/ardour/crossfade.cc
parent9ec965a54eb9bafa6fa0cf4837809189affac49f (diff)
make Stateful::_id private and provide appropriate methods to set it, and use them throughout ardour
git-svn-id: svn://localhost/ardour2/branches/3.0@10222 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/crossfade.cc')
-rw-r--r--libs/ardour/crossfade.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/ardour/crossfade.cc b/libs/ardour/crossfade.cc
index dc8d3e3c52..f06fcfb280 100644
--- a/libs/ardour/crossfade.cc
+++ b/libs/ardour/crossfade.cc
@@ -778,9 +778,7 @@ Crossfade::set_state (const XMLNode& node, int /*version*/)
PropertyChange what_changed;
framepos_t val;
- if ((prop = node.property (X_("id")))) {
- _id = prop->value();
- }
+ set_id (node);
if ((prop = node.property ("position")) != 0) {
sscanf (prop->value().c_str(), "%" PRId64, &val);