Skip to content

Commit

Permalink
Merge pull request H-uru#1559 from Hoikas/refcount_vftable
Browse files Browse the repository at this point in the history
Restore vftable of `hsRefCount`.
  • Loading branch information
Hoikas authored Jan 22, 2024
2 parents 691059f + 23283a9 commit 80c60a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/Plasma/CoreLib/hsRefCnt.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ class hsRefCnt {
hsRefCnt(int initRefs = 1);
virtual ~hsRefCnt();

inline int RefCnt() const { return fRefCnt; }
void UnRef(const char* tag = nullptr);
void Ref(const char* tag = nullptr);
virtual int RefCnt() const { return fRefCnt; }
virtual void UnRef(const char* tag = nullptr);
virtual void Ref(const char* tag = nullptr);

// Useless, but left here for debugging compatibility with AtomicRef
void TransferRef(const char* oldTag, const char* newTag);
Expand Down

0 comments on commit 80c60a5

Please sign in to comment.