A Type suffices as base type for DwarfSubrangeType.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33918 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2009-11-06 15:36:21 +00:00
parent 5569f33367
commit e438c2d761
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1113,7 +1113,7 @@ DwarfEnumerationType::AddValue(DwarfEnumeratorValue* value)
DwarfSubrangeType::DwarfSubrangeType(DwarfTypeContext* typeContext, DwarfSubrangeType::DwarfSubrangeType(DwarfTypeContext* typeContext,
const BString& name, DIESubrangeType* entry, DwarfType* baseType, const BString& name, DIESubrangeType* entry, Type* baseType,
const BVariant& lowerBound, const BVariant& upperBound) const BVariant& lowerBound, const BVariant& upperBound)
: :
DwarfType(typeContext, name, entry), DwarfType(typeContext, name, entry),
+2 -2
View File
@@ -423,7 +423,7 @@ class DwarfSubrangeType : public SubrangeType, public DwarfType {
public: public:
DwarfSubrangeType(DwarfTypeContext* typeContext, DwarfSubrangeType(DwarfTypeContext* typeContext,
const BString& name, DIESubrangeType* entry, const BString& name, DIESubrangeType* entry,
DwarfType* baseType, Type* baseType,
const BVariant& lowerBound, const BVariant& lowerBound,
const BVariant& upperBound); const BVariant& upperBound);
~DwarfSubrangeType(); ~DwarfSubrangeType();
@@ -440,7 +440,7 @@ public:
private: private:
DIESubrangeType* fEntry; DIESubrangeType* fEntry;
DwarfType* fBaseType; Type* fBaseType;
BVariant fLowerBound; BVariant fLowerBound;
BVariant fUpperBound; BVariant fUpperBound;
}; };