From 419efb2c20c38bbf301ec3e21eacbf37a0550df5 Mon Sep 17 00:00:00 2001 From: rich_sposato Date: Tue, 20 Sep 2011 18:38:13 +0000 Subject: [PATCH] Added comment about delete this. git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1108 7ec92016-0320-0410-acc4-a06ded1c099a --- test/SmartPtr/base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/SmartPtr/base.h b/test/SmartPtr/base.h index ba3ae05..c54889d 100644 --- a/test/SmartPtr/base.h +++ b/test/SmartPtr/base.h @@ -37,7 +37,7 @@ public: 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.