Remove extraneous PField class

- Remove the existing PField class, rename PMemberField to PField, and
  derive it from PSymbol instead of the old PField.
This commit is contained in:
Randy Heit 2013-08-07 20:22:01 -05:00
parent 7e24f6b00c
commit 476a98652c

View file

@ -319,16 +319,10 @@ protected:
// Struct/class fields ------------------------------------------------------ // Struct/class fields ------------------------------------------------------
class PField : public DObject // A PField describes a symbol that takes up physical space in the struct.
class PField : public PSymbol
{ {
DECLARE_ABSTRACT_CLASS(PField, DObject); DECLARE_CLASS(PField, PSymbol);
public:
FName FieldName;
};
class PMemberField : public PField
{
DECLARE_CLASS(PMemberField, PField);
HAS_OBJECT_POINTERS HAS_OBJECT_POINTERS
public: public:
unsigned int FieldOffset; unsigned int FieldOffset;