Cleanup: warnings, typos
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
* An object with reference counting.
|
||||
* Base class for objects with reference counting.
|
||||
* When a shared object is ceated, it has reference count == 1.
|
||||
* If the the reference count of a shared object reaches zero, the object self-destructs.
|
||||
* If the reference count of a shared object reaches zero, the object self-destructs.
|
||||
* The default destructor of this object has been made protected on purpose.
|
||||
* This disables the creation of shared objects on the stack.
|
||||
*
|
||||
@@ -72,7 +72,7 @@ public:
|
||||
|
||||
/**
|
||||
* Decreases the reference count of this object.
|
||||
* If the the reference count reaches zero, the object self-destructs.
|
||||
* If the reference count reaches zero, the object self-destructs.
|
||||
* @return the new reference count.
|
||||
*/
|
||||
inline virtual int decRef();
|
||||
|
||||
@@ -64,7 +64,7 @@ extern int MEM_RefCountedIncRef(MEM_TRefCountedObjectPtr shared);
|
||||
|
||||
/**
|
||||
* Decreases the reference count of this object.
|
||||
* If the the reference count reaches zero, the object self-destructs.
|
||||
* If the reference count reaches zero, the object self-destructs.
|
||||
* @param shared The object to query.
|
||||
* @return The new reference count.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user