removed unnecessary use of const_cast
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20291 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a20cecff60
commit
533b9a69a7
@ -659,7 +659,7 @@ ServerPicture::SyncState(ViewLayer *view)
|
|||||||
void
|
void
|
||||||
ServerPicture::Play(ViewLayer *view)
|
ServerPicture::Play(ViewLayer *view)
|
||||||
{
|
{
|
||||||
PicturePlayer player(const_cast<void *>(fData.Buffer()), fData.BufferLength(), NULL);
|
PicturePlayer player(fData.Buffer(), fData.BufferLength(), NULL);
|
||||||
player.Play(const_cast<void **>(tableEntries), sizeof(tableEntries) / sizeof(void *), view);
|
player.Play(const_cast<void **>(tableEntries), sizeof(tableEntries) / sizeof(void *), view);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user