Use correct style casts

Types are not all constant now


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@544 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2001-09-10 20:11:28 +00:00
parent c4e09ec453
commit 243f1f7315

View File

@ -168,7 +168,7 @@ struct BoolRules : public TemplateRules<ConstPoolBool, BoolRules> {
// different types. This allows the C++ compiler to automatically generate our
// constant handling operations in a typesafe and accurate manner.
//
template<class ConstPoolClass, class BuiltinType, const Type **Ty>
template<class ConstPoolClass, class BuiltinType, Type **Ty>
struct DirectRules
: public TemplateRules<ConstPoolClass,
DirectRules<ConstPoolClass, BuiltinType, Ty> > {