'gtk2_ardour' - Use 'const_iterator' where appropriate, instead of 'iterator'
This commit is contained in:
parent
bc2b2f9e35
commit
5da78cea9a
@ -397,7 +397,7 @@ AudioTimeAxisView::build_automation_action_menu (bool for_selection)
|
||||
(!pan_tracks.empty() && string_is_affirmative (pan_tracks.front()->gui_property ("visible"))));
|
||||
|
||||
set<Evoral::Parameter> const & params = _route->pannable()->what_can_be_automated ();
|
||||
for (set<Evoral::Parameter>::iterator p = params.begin(); p != params.end(); ++p) {
|
||||
for (set<Evoral::Parameter>::const_iterator p = params.begin(); p != params.end(); ++p) {
|
||||
_main_automation_menu_map[*p] = pan_automation_item;
|
||||
}
|
||||
}
|
||||
|
@ -3291,7 +3291,7 @@ MidiRegionView::selection_as_cut_buffer () const
|
||||
{
|
||||
Notes notes;
|
||||
|
||||
for (Selection::iterator i = _selection.begin(); i != _selection.end(); ++i) {
|
||||
for (Selection::const_iterator i = _selection.begin(); i != _selection.end(); ++i) {
|
||||
NoteType* n = (*i)->note().get();
|
||||
notes.insert (boost::shared_ptr<NoteType> (new NoteType (*n)));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user