mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-12-13 13:40:53 +00:00
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:
parent
7e24f6b00c
commit
476a98652c
1 changed files with 3 additions and 9 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue