Fix usage of CastType

This commit is contained in:
Matt Pharr
2012-06-18 16:26:31 -07:00
parent 4b334fd2e2
commit b2f6ed7209

View File

@@ -198,13 +198,13 @@ AtomicType::GetVariability() const {
bool
Type::IsPointerType() const {
return (CastType<const PointerType*>(this) != NULL);
return (CastType<PointerType>(this) != NULL);
}
bool
Type::IsArrayType() const {
return (CastType<const ArrayType*>(this) != NULL);
return (CastType<ArrayType>(this) != NULL);
}
bool