Accidently broke the build with the previous revision...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16455 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -453,7 +453,7 @@ BWindow::RemoveChild(BView *child)
|
||||
int32
|
||||
BWindow::CountChildren() const
|
||||
{
|
||||
BAutolock locker(this);
|
||||
BAutolock _(const_cast<BWindow*>(this));
|
||||
return fTopView->CountChildren();
|
||||
}
|
||||
|
||||
@@ -461,7 +461,7 @@ BWindow::CountChildren() const
|
||||
BView *
|
||||
BWindow::ChildAt(int32 index) const
|
||||
{
|
||||
BAutolock locker(this);
|
||||
BAutolock _(const_cast<BWindow*>(this));
|
||||
return fTopView->ChildAt(index);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user