diff --git a/gtk2_ardour/streamview.h b/gtk2_ardour/streamview.h index 820b956cc3..883c82d198 100644 --- a/gtk2_ardour/streamview.h +++ b/gtk2_ardour/streamview.h @@ -93,7 +93,7 @@ public: void add_region_view (boost::shared_ptr); void region_layered (RegionView*); - void update_contents_y_position_and_height (); + virtual void update_contents_y_position_and_height (); virtual void redisplay_diskstream () = 0; diff --git a/libs/ardour/midi_model.cc b/libs/ardour/midi_model.cc index 27910b44f5..2a31de279b 100644 --- a/libs/ardour/midi_model.cc +++ b/libs/ardour/midi_model.cc @@ -155,7 +155,7 @@ MidiModel::const_iterator::operator++() } } - enum Type { NIL, NOTE, CC }; + enum Type { NIL, NOTE, CC }; Type type = NIL; if (_note_iter != _model->notes().end())