no need to const_cast in there...

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15737 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2005-12-30 08:32:22 +00:00
parent b34197fb51
commit 6fce24d777

View File

@ -4206,8 +4206,8 @@ BView::_UpdateStateForRemove()
status_t code;
if (fOwner->fLink->FlushWithReply(code) == B_OK
&& code == B_OK) {
fOwner->fLink->Read<BPoint>(const_cast<BPoint *>(&fParentOffset));
fOwner->fLink->Read<BRect>(const_cast<BRect *>(&fBounds));
fOwner->fLink->Read<BPoint>(&fParentOffset);
fOwner->fLink->Read<BRect>(&fBounds);
fState->valid_flags |= B_VIEW_FRAME_BIT;
}
}