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:
parent
b34197fb51
commit
6fce24d777
@ -4206,8 +4206,8 @@ BView::_UpdateStateForRemove()
|
|||||||
status_t code;
|
status_t code;
|
||||||
if (fOwner->fLink->FlushWithReply(code) == B_OK
|
if (fOwner->fLink->FlushWithReply(code) == B_OK
|
||||||
&& code == B_OK) {
|
&& code == B_OK) {
|
||||||
fOwner->fLink->Read<BPoint>(const_cast<BPoint *>(&fParentOffset));
|
fOwner->fLink->Read<BPoint>(&fParentOffset);
|
||||||
fOwner->fLink->Read<BRect>(const_cast<BRect *>(&fBounds));
|
fOwner->fLink->Read<BRect>(&fBounds);
|
||||||
fState->valid_flags |= B_VIEW_FRAME_BIT;
|
fState->valid_flags |= B_VIEW_FRAME_BIT;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user