Tracker: fix debug build
Change-Id: I8a31802366b3dcbadc9ce1ba903161fa3fcad60d Reviewed-on: https://review.haiku-os.org/c/haiku/+/2679 Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
@@ -135,7 +135,7 @@ IconCacheEntry::SetAliasFor(const SharedIconCache* sharedCache,
|
|||||||
const SharedCacheEntry* entry)
|
const SharedCacheEntry* entry)
|
||||||
{
|
{
|
||||||
sharedCache->SetAliasFor(this, entry);
|
sharedCache->SetAliasFor(this, entry);
|
||||||
ASSERT(fAliasForIndex >= 0);
|
ASSERT(fAliasTo != NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -1457,7 +1457,7 @@ SharedIconCache::IconChanged(SharedCacheEntry* entry)
|
|||||||
{
|
{
|
||||||
// by now there should be no aliases to entry, just remove entry
|
// by now there should be no aliases to entry, just remove entry
|
||||||
// itself
|
// itself
|
||||||
ASSERT(entry->fAliasForIndex == -1);
|
ASSERT(entry->fAliasTo == NULL);
|
||||||
entry->RetireIcons(&fRetiredBitmaps);
|
entry->RetireIcons(&fRetiredBitmaps);
|
||||||
fHashTable.Remove(entry);
|
fHashTable.Remove(entry);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user