mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 23:05:04 +01:00
Const'ness where const'ness is due
This commit is contained in:
parent
9a70e72f3d
commit
92a1d3619b
2 changed files with 3 additions and 3 deletions
|
|
@ -1272,11 +1272,11 @@ TimeAxisView::preset_height (Height h)
|
||||||
|
|
||||||
/** @return Child time axis views that are not hidden */
|
/** @return Child time axis views that are not hidden */
|
||||||
TimeAxisView::Children
|
TimeAxisView::Children
|
||||||
TimeAxisView::get_child_list ()
|
TimeAxisView::get_child_list () const
|
||||||
{
|
{
|
||||||
Children c;
|
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()) {
|
if (!(*i)->hidden()) {
|
||||||
c.push_back(*i);
|
c.push_back(*i);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -216,7 +216,7 @@ class TimeAxisView : public virtual AxisView
|
||||||
virtual StreamView* view () const { return 0; }
|
virtual StreamView* view () const { return 0; }
|
||||||
|
|
||||||
typedef std::vector<boost::shared_ptr<TimeAxisView> > Children;
|
typedef std::vector<boost::shared_ptr<TimeAxisView> > Children;
|
||||||
Children get_child_list ();
|
Children get_child_list () const;
|
||||||
|
|
||||||
static uint32_t preset_height (Height);
|
static uint32_t preset_height (Height);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue