Improved ExportProfileManager error handling, and added some missing (?) initialization
[ardour.git] / libs / ardour / session_command.cc
index 72bc3f23d71e29aae9863afebd39d306bba55787..b696f7d410a6b0f6c3ed61a6b4bc6e1e96239b6b 100644 (file)
@@ -104,7 +104,7 @@ Session::memento_command_factory(XMLNode *n)
            }
     } else if (obj_T == typeid (Route).name() || obj_T == typeid (AudioTrack).name() || obj_T == typeid(MidiTrack).name()) { 
            return new MementoCommand<Route>(*route_by_id(id), before, after);
-    } else if (obj_T == typeid (Curve).name() || obj_T == typeid (AutomationList).name()) {
+    } else if (obj_T == typeid (Evoral::Curve).name() || obj_T == typeid (AutomationList).name()) {
            if (automation_lists.count(id))
                    return new MementoCommand<AutomationList>(*automation_lists[id], before, after);
     } else if (registry.count(id)) { // For Editor and AutomationLine which are off-limits here