added ASSERT checks
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14354 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
6245f19cbe
commit
d40a708ed3
@ -10,12 +10,13 @@
|
||||
|
||||
BufferManager::BufferManager()
|
||||
: fSharedBufferList(_shared_buffer_list::Clone()),
|
||||
fSharedBufferListId(-1),
|
||||
fNextBufferId(1),
|
||||
fLocker(new BLocker("buffer manager locker")),
|
||||
fBufferInfoMap(new Map<media_buffer_id, buffer_info>)
|
||||
{
|
||||
fSharedBufferListId = area_for(fSharedBufferList);
|
||||
ASSERT(fSharedBufferList!=NULL);
|
||||
ASSERT(fSharedBufferListId > 0);
|
||||
}
|
||||
|
||||
BufferManager::~BufferManager()
|
||||
|
Loading…
Reference in New Issue
Block a user