summaryrefslogtreecommitdiff
path: root/libs/ardour/curve.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/curve.cc')
-rw-r--r--libs/ardour/curve.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/ardour/curve.cc b/libs/ardour/curve.cc
index 20f7053f2e..5f7d692471 100644
--- a/libs/ardour/curve.cc
+++ b/libs/ardour/curve.cc
@@ -435,13 +435,14 @@ Curve::point_factory (const ControlEvent& other) const
return new CurvePoint (other.when, other.value);
}
+#ifdef STATE_MANAGER
Change
Curve::restore_state (StateManager::State& state)
{
mark_dirty ();
return AutomationList::restore_state (state);
}
-
+#endif
extern "C" {