1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00

Added a way for discover refcount of Refcounted classes.

This commit is contained in:
Jonas 'Sortie' Termansen 2012-03-21 16:20:41 +01:00
parent 0f099c65ca
commit ea11c20689

View file

@ -36,6 +36,7 @@ namespace Sortix
public:
void Refer();
void Unref();
inline size_t Refcount() const { return refcount; }
private:
size_t refcount;