|
From: <ric...@us...> - 2011-09-20 18:38:19
|
Revision: 1108
http://loki-lib.svn.sourceforge.net/loki-lib/?rev=1108&view=rev
Author: rich_sposato
Date: 2011-09-20 18:38:13 +0000 (Tue, 20 Sep 2011)
Log Message:
-----------
Added comment about delete this.
Modified Paths:
--------------
trunk/test/SmartPtr/base.h
Modified: trunk/test/SmartPtr/base.h
===================================================================
--- trunk/test/SmartPtr/base.h 2011-09-20 18:36:12 UTC (rev 1107)
+++ trunk/test/SmartPtr/base.h 2011-09-20 18:38:13 UTC (rev 1108)
@@ -37,7 +37,7 @@
assert( 0 < m_refCount );
--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 was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|