Added an extra const of consistency

This commit is contained in:
Joel Holdsworth 2009-01-02 15:47:56 +00:00
parent 643e1c9be1
commit a28a901539
2 changed files with 2 additions and 2 deletions

View file

@ -162,7 +162,7 @@ void
TimelineLayoutHelper::layout_headers_recursive( TimelineLayoutHelper::layout_headers_recursive(
TrackTree::iterator_base parent_iterator, TrackTree::iterator_base parent_iterator,
int &offset, const int header_width, const int indent_width, int &offset, const int header_width, const int indent_width,
const int depth, bool parent_expanded) const int depth, const bool parent_expanded)
{ {
REQUIRE(depth >= 0); REQUIRE(depth >= 0);

View file

@ -99,7 +99,7 @@ protected:
void layout_headers_recursive( void layout_headers_recursive(
TrackTree::iterator_base parent_iterator, TrackTree::iterator_base parent_iterator,
int &offset, const int header_width, const int indent_width, int &offset, const int header_width, const int indent_width,
const int depth, bool parent_expanded); const int depth, const bool parent_expanded);
/** /**
* A helper function which calls lookup_timeline_track within the * A helper function which calls lookup_timeline_track within the