Const'ness where const'ness is due
[ardour.git] / gtk2_ardour / time_axis_view.cc
index dbaaf0268d4648e53ed42c126c5cb608e4fdc9b0..58c9d44bc52c99302b613ba325dc111d687561c9 100644 (file)
@@ -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);
                }