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:
Axel Dörfler
2006-02-17 13:39:59 +00:00
parent dd7b93c875
commit 05b9fbf51f
+2 -2
View File
@@ -453,7 +453,7 @@ BWindow::RemoveChild(BView *child)
int32 int32
BWindow::CountChildren() const BWindow::CountChildren() const
{ {
BAutolock locker(this); BAutolock _(const_cast<BWindow*>(this));
return fTopView->CountChildren(); return fTopView->CountChildren();
} }
@@ -461,7 +461,7 @@ BWindow::CountChildren() const
BView * BView *
BWindow::ChildAt(int32 index) const BWindow::ChildAt(int32 index) const
{ {
BAutolock locker(this); BAutolock _(const_cast<BWindow*>(this));
return fTopView->ChildAt(index); return fTopView->ChildAt(index);
} }