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
1 changed files with 3 additions and 9 deletions

View File

@ -319,16 +319,10 @@ protected:
// 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);
public:
FName FieldName;
};
class PMemberField : public PField
{
DECLARE_CLASS(PMemberField, PField);
DECLARE_CLASS(PField, PSymbol);
HAS_OBJECT_POINTERS
public:
unsigned int FieldOffset;