fixes for endemic (compiler?) issues with virtual inheritance of sigc::trackable...
[ardour.git] / libs / ardour / curve.cc
index 20f7053f2e9466e4ef43f82b5f561e02cd4ed38a..5f7d69247161d1521bdce3159afec0d84239bca5 100644 (file)
@@ -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" {