Changeset View
Changeset View
Standalone View
Standalone View
intern/memutil/MEM_RefCounted.h
| Show All 35 Lines | |||||
| * | * | ||||
| * \author Maarten Gribnau | * \author Maarten Gribnau | ||||
| * \date March 31, 2001 | * \date March 31, 2001 | ||||
| */ | */ | ||||
| class MEM_RefCounted { | class MEM_RefCounted { | ||||
| public: | public: | ||||
| /** | /** | ||||
| * Constructs a a shared object. | * Constructs a shared object. | ||||
| */ | */ | ||||
| MEM_RefCounted() : m_refCount(1) | MEM_RefCounted() : m_refCount(1) | ||||
| { | { | ||||
| } | } | ||||
| /** | /** | ||||
| * Returns the reference count of this object. | * Returns the reference count of this object. | ||||
| * \return the reference count. | * \return the reference count. | ||||
| ▲ Show 20 Lines • Show All 51 Lines • Show Last 20 Lines | |||||