- PSymbol does not need to inherit from PTypeBase. This also means that there are no remaining references to any symbol object outside of the symbol tables.

This commit is contained in:
Christoph Oelckers 2017-02-08 13:37:13 +01:00
commit f1b3d60b2f
5 changed files with 3 additions and 38 deletions

View file

@ -59,16 +59,6 @@ IMPLEMENT_POINTER(Parent)
IMPLEMENT_POINTERS_END
//==========================================================================
//
//
//
//==========================================================================
PSymbol::~PSymbol()
{
}
//==========================================================================
//
//

View file

@ -19,23 +19,12 @@ class PTypeBase : public DObject
DECLARE_ABSTRACT_CLASS(PTypeBase, DObject)
public:
virtual FString QualifiedName() const
{
return "";
}
};
class PSymbol : public PTypeBase
class PSymbol : public DObject
{
DECLARE_ABSTRACT_CLASS(PSymbol, PTypeBase);
DECLARE_ABSTRACT_CLASS(PSymbol, DObject);
public:
virtual ~PSymbol();
virtual FString QualifiedName() const
{
return SymbolName.GetChars();
}
FName SymbolName;
protected: