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:
Michael Pfeiffer 2003-08-07 16:26:58 +00:00
parent 69e940458c
commit f1bf474ac1

View File

@ -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;