From 2f6f89551ffeb94a131f4a36097fbe185e3cfd94 Mon Sep 17 00:00:00 2001 From: rich_sposato Date: Thu, 6 Oct 2005 00:19:56 +0000 Subject: [PATCH] Added clarifying comment about destructor. git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@288 7ec92016-0320-0410-acc4-a06ded1c099a --- include/loki/SmallObj.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/loki/SmallObj.h b/include/loki/SmallObj.h index fad3592..65d82de 100644 --- a/include/loki/SmallObj.h +++ b/include/loki/SmallObj.h @@ -59,7 +59,8 @@ namespace Loki /** Destructor releases all blocks, all Chunks, and FixedAllocator's. Any outstanding blocks are unavailable, and should not be used after - this destructor is called. + this destructor is called. The destructor is deliberately non-virtual + because it is protected, not public. */ ~SmallObjAllocator( void ); @@ -442,6 +443,9 @@ namespace Loki // Nov. 26, 2004: re-implemented by Rich Sposato. // // $Log$ +// Revision 1.12 2005/10/06 00:19:56 rich_sposato +// Added clarifying comment about destructor. +// // Revision 1.11 2005/09/27 00:41:13 rich_sposato // Added array forms of new and delete. //