// Remove the entry with this key. We require that an entry with this key is present.
void remove(const Key& key) {
- SkASSERT(NULL != this->find(key));
+ SkASSERT(this->find(key));
this->innerRemove(key);
SkASSERT(this->validate());
}
void rewind() {
- if (NULL != fArray) {
+ if (fArray) {
sk_bzero(fArray, sizeof(T*)* fCapacity);
}
fCount = 0;
deleted++;
} else if (Empty() != fArray[i]) {
count++;
- SKTDYNAMICHASH_CHECK(NULL != this->find(GetKey(*fArray[i])));
+ SKTDYNAMICHASH_CHECK(this->find(GetKey(*fArray[i])));
}
}
SKTDYNAMICHASH_CHECK(count == fCount);