Chromium's clang bots do not like the SkASSERT(!"foo") construct
git-svn-id: http://skia.googlecode.com/svn/trunk@10840 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/core/SkTDynamicHash.h b/src/core/SkTDynamicHash.h
index be3dbcc..47412c3 100644
--- a/src/core/SkTDynamicHash.h
+++ b/src/core/SkTDynamicHash.h
@@ -45,7 +45,7 @@
}
index = this->nextIndex(index, round);
}
- SkASSERT(!"find: should be unreachable");
+ SkASSERT(0); // find: should be unreachable
return NULL;
}
@@ -82,7 +82,7 @@
}
index = this->nextIndex(index, round);
}
- SkASSERT(!"countCollisions: should be unreachable");
+ SkASSERT(0); // countCollisions: should be unreachable
return -1;
}
@@ -170,7 +170,7 @@
}
index = this->nextIndex(index, round);
}
- SkASSERT(!"add: should be unreachable");
+ SkASSERT(0); // add: should be unreachable
}
void innerRemove(const Key& key) {
@@ -186,7 +186,7 @@
}
index = this->nextIndex(index, round);
}
- SkASSERT(!"innerRemove: should be unreachable");
+ SkASSERT(0); // innerRemove: should be unreachable
}
void maybeGrow() {