Fixed wrong class name in dynamic cast.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4240 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
69e940458c
commit
f1bf474ac1
@ -87,7 +87,7 @@ CacheItem* Cache::Find(CIDescription* desc) {
|
||||
// item not in cache, create one
|
||||
item = desc->NewItem(id);
|
||||
if (item != NULL) {
|
||||
ASSERT(dynamic_cast<CacheItemReference*>(item) == NULL);
|
||||
ASSERT(dynamic_cast<CIReference*>(item) == NULL);
|
||||
fCache.AddItem(item);
|
||||
}
|
||||
return item;
|
||||
|
Loading…
Reference in New Issue
Block a user