Added comment about delete this.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1108 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
9d55e10a3b
commit
419efb2c20
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ public:
|
||||||
assert( 0 < m_refCount );
|
assert( 0 < m_refCount );
|
||||||
--m_refCount;
|
--m_refCount;
|
||||||
if ( 0 == m_refCount )
|
if ( 0 == m_refCount )
|
||||||
delete this;
|
delete this; // Don't even ask me how much I dislike seeing "delete this;"!
|
||||||
}
|
}
|
||||||
|
|
||||||
// This function is used only for the DeepCopy policy.
|
// This function is used only for the DeepCopy policy.
|
||||||
|
|
Loading…
Reference in a new issue