From 69b590f5ba16e70a0395391dec6766eaa7e38fc0 Mon Sep 17 00:00:00 2001 From: rich_sposato Date: Fri, 22 Jul 2005 00:46:22 +0000 Subject: [PATCH] Added include statement. Qualified namespace for Apply1. git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@168 7ec92016-0320-0410-acc4-a06ded1c099a --- include/noncc/MSVC/1200/SmallObj.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/include/noncc/MSVC/1200/SmallObj.h b/include/noncc/MSVC/1200/SmallObj.h index 38ea880..1b99108 100755 --- a/include/noncc/MSVC/1200/SmallObj.h +++ b/include/noncc/MSVC/1200/SmallObj.h @@ -21,6 +21,7 @@ #include "Threads.h" #include "Singleton.h" +#include "MSVC6Helpers.h" // for apply-template #include #include // needed for std::nothrow_t parameter. @@ -133,8 +134,9 @@ namespace Loki maxSmallObjectSize, objectAlignSize > MyAllocator; /// Defines type for thread-safety locking mechanism. - typedef typename Apply1< ThreadingModel, AllocatorSingleton< ThreadingModel, - chunkSize, maxSmallObjectSize, objectAlignSize > > MyThreadingModel; + typedef typename Loki::Apply1< ThreadingModel, AllocatorSingleton< + ThreadingModel, chunkSize, maxSmallObjectSize, objectAlignSize > > + MyThreadingModel; /// Defines singleton made from allocator. typedef Loki::SingletonHolder< MyAllocator, Loki::CreateStatic, @@ -266,6 +268,9 @@ namespace Loki #endif // SMALLOBJ_INC_ // $Log$ +// Revision 1.3 2005/07/22 00:46:22 rich_sposato +// Added include statement. Qualified namespace for Apply1. +// // Revision 1.2 2005/07/22 00:41:07 rich_sposato // Backported newer implementation of Small-Object Allocator back to VC6 since // it fixes several old bugs.