Fix usage of CastType
This commit is contained in:
4
type.cpp
4
type.cpp
@@ -198,13 +198,13 @@ AtomicType::GetVariability() const {
|
|||||||
|
|
||||||
bool
|
bool
|
||||||
Type::IsPointerType() const {
|
Type::IsPointerType() const {
|
||||||
return (CastType<const PointerType*>(this) != NULL);
|
return (CastType<PointerType>(this) != NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool
|
bool
|
||||||
Type::IsArrayType() const {
|
Type::IsArrayType() const {
|
||||||
return (CastType<const ArrayType*>(this) != NULL);
|
return (CastType<ArrayType>(this) != NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
|||||||
Reference in New Issue
Block a user