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
1 changed files with 1 additions and 0 deletions

View File

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