From ee40135d559f8bf05a0ed45df79867a719229b95 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 21 Jan 2017 23:26:27 +0100 Subject: [PATCH] - removed the bogus SetPointer method from PClassPointer. This was blocking proper bookkeeping of class pointer variables, in particular it rendered PointerSubstitution ineffective. --- src/dobjtype.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/dobjtype.h b/src/dobjtype.h index 79aee58496..d38c42c58b 100644 --- a/src/dobjtype.h +++ b/src/dobjtype.h @@ -598,8 +598,6 @@ public: class PClass *ClassRestriction; - // this is only here to block PPointer's implementation - void SetPointer(void *base, unsigned offset, TArray *special = NULL) const override {} bool isCompatible(PType *type); virtual bool IsMatch(intptr_t id1, intptr_t id2) const;