diff options
author | Robin Gareus <robin@gareus.org> | 2017-07-19 20:35:17 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-07-19 22:15:22 +0200 |
commit | 92a1d3619bfc94e649fbbc4b4cd12c3c89978d6b (patch) | |
tree | adebcfde3134d218fb923274e66d446177f3eb05 /gtk2_ardour/time_axis_view.cc | |
parent | 9a70e72f3d404d70d5499eaa86b4d1a94ce43223 (diff) |
Const'ness where const'ness is due
Diffstat (limited to 'gtk2_ardour/time_axis_view.cc')
-rw-r--r-- | gtk2_ardour/time_axis_view.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/time_axis_view.cc b/gtk2_ardour/time_axis_view.cc index dbaaf0268d..58c9d44bc5 100644 --- a/gtk2_ardour/time_axis_view.cc +++ b/gtk2_ardour/time_axis_view.cc @@ -1272,11 +1272,11 @@ TimeAxisView::preset_height (Height h) /** @return Child time axis views that are not hidden */ TimeAxisView::Children -TimeAxisView::get_child_list () +TimeAxisView::get_child_list () const { Children c; - for (Children::iterator i = children.begin(); i != children.end(); ++i) { + for (Children::const_iterator i = children.begin(); i != children.end(); ++i) { if (!(*i)->hidden()) { c.push_back(*i); } |