diff --git a/sortix/refcount.h b/sortix/refcount.h index 9ceb79c6..01e3622f 100644 --- a/sortix/refcount.h +++ b/sortix/refcount.h @@ -36,6 +36,7 @@ namespace Sortix public: void Refer(); void Unref(); + inline size_t Refcount() const { return refcount; } private: size_t refcount;