small corrections

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@206 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
syntheticpp 2005-08-25 15:23:14 +00:00
parent ba4d64fbe2
commit 4c5968dc18

View file

@ -120,7 +120,7 @@ namespace Loki
std::size_t objectAlignSize, std::size_t objectAlignSize,
template <class> class LifetimePolicy template <class> class LifetimePolicy
> >
class SmallObjectBase class SmallObjectBase : public ThreadingModel<SmallObjectBase<ThreadingModel, chunkSize, maxSmallObjectSize, objectAlignSize, LifetimePolicy> >
{ {
#if (MAX_SMALL_OBJECT_SIZE != 0) && (DEFAULT_CHUNK_SIZE != 0) && (LOKI_DEFAULT_OBJECT_ALIGNMENT != 0) #if (MAX_SMALL_OBJECT_SIZE != 0) && (DEFAULT_CHUNK_SIZE != 0) && (LOKI_DEFAULT_OBJECT_ALIGNMENT != 0)
@ -135,7 +135,7 @@ namespace Loki
/// Defines singleton made from allocator. /// Defines singleton made from allocator.
typedef Loki::SingletonHolder< MyAllocator, Loki::CreateStatic, typedef Loki::SingletonHolder< MyAllocator, Loki::CreateStatic,
LifetimePolicy, ThreadingModel > MyAllocatorSingleton; LifetimePolicy, ThreadingModel > MyAllocatorSingleton;
public: public:
/** Throwing single-object new. /** Throwing single-object new.
@ -257,11 +257,11 @@ namespace Loki
// Change log: // Change log:
// June 20, 2001: ported by Nick Thurn to gcc 2.95.3. Kudos, Nick!!! // June 20, 2001: ported by Nick Thurn to gcc 2.95.3. Kudos, Nick!!!
// Nov. 26, 2004: re-implemented by Rich Sposato. // Nov. 26, 2004: re-implemented by Rich Sposato.
//////////////////////////////////////////////////////////////////////////////// //
#endif // SMALLOBJ_INC_
// $Log$ // $Log$
// Revision 1.4 2005/08/25 15:23:14 syntheticpp
// small corrections
//
// Revision 1.3 2005/07/31 14:00:48 syntheticpp // Revision 1.3 2005/07/31 14:00:48 syntheticpp
// make object level threading possible // make object level threading possible
// //
@ -271,3 +271,6 @@ namespace Loki
// Revision 1.2 2005/07/22 00:22:38 rich_sposato // Revision 1.2 2005/07/22 00:22:38 rich_sposato
// Added SmallValueObject, SmallObjectBase, and AllocatorSingleton classes. // Added SmallValueObject, SmallObjectBase, and AllocatorSingleton classes.
// //
////////////////////////////////////////////////////////////////////////////////
#endif // SMALLOBJ_INC_