MIDI::Port::(get|set)_state() should be virtual, so that derived classes get their...
authorPaul Davis <paul@linuxaudiosystems.com>
Sun, 27 May 2012 16:49:51 +0000 (16:49 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Sun, 27 May 2012 16:49:51 +0000 (16:49 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@12455 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/midi++2/midi++/port.h

index 89b0e283dcf24dc79d9ad42511b3d2ff17c21221..599fabaa87c48a76dded6458f6b95cfec39a73bd 100644 (file)
@@ -48,8 +48,8 @@ class Port {
        Port (const XMLNode&);
        virtual ~Port ();
 
-       XMLNode& get_state () const;
-       void set_state (const XMLNode&);
+       virtual XMLNode& get_state () const;
+       virtual void set_state (const XMLNode&);
 
        // FIXME: make Manager a friend of port so these can be hidden?