From: <syn...@us...> - 2006-11-09 13:36:38
|
Revision: 777 http://svn.sourceforge.net/loki-lib/?rev=777&view=rev Author: syntheticpp Date: 2006-11-09 05:26:08 -0800 (Thu, 09 Nov 2006) Log Message: ----------- fix compiler error on the SUN, hope no compiler defines a upper case letter, thanks to Rob Yull Modified Paths: -------------- trunk/include/loki/SmallObj.h Modified: trunk/include/loki/SmallObj.h =================================================================== --- trunk/include/loki/SmallObj.h 2006-11-09 13:12:57 UTC (rev 776) +++ trunk/include/loki/SmallObj.h 2006-11-09 13:26:08 UTC (rev 777) @@ -277,14 +277,14 @@ template < - template <class, class> class TM, - std::size_t CS, - std::size_t MSOS, - std::size_t OAS, - template <class> class LP, - class MX + template <class, class> class T, + std::size_t C, + std::size_t M, + std::size_t O, + template <class> class L, + class X > - void AllocatorSingleton< TM, CS, MSOS, OAS, LP, MX >::ClearExtraMemory( void ) + void AllocatorSingleton< T, C, M, O, L, X >::ClearExtraMemory( void ) { typename MyThreadingModel::Lock lock; (void)lock; // get rid of warning @@ -293,14 +293,14 @@ template < - template <class, class> class TM, - std::size_t CS, - std::size_t MSOS, - std::size_t OAS, - template <class> class LP, - class MX + template <class, class> class T, + std::size_t C, + std::size_t M, + std::size_t O, + template <class> class L, + class X > - bool AllocatorSingleton< TM, CS, MSOS, OAS, LP, MX >::IsCorrupted( void ) + bool AllocatorSingleton< T, C, M, O, L, X >::IsCorrupted( void ) { typename MyThreadingModel::Lock lock; (void)lock; // get rid of warning @@ -321,15 +321,15 @@ */ template < - template <class, class> class TM, - std::size_t CS, - std::size_t MSOS, - std::size_t OAS, - template <class> class LP, - class MX + template <class, class> class T, + std::size_t C, + std::size_t M, + std::size_t O, + template <class> class L, + class X > inline unsigned int GetLongevity( - AllocatorSingleton< TM, CS, MSOS, OAS, LP, MX > * ) + AllocatorSingleton< T, C, M, O, L, X > * ) { // Returns highest possible value. return 0xFFFFFFFF; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |