stl_alloc.h (default_alloc_template::_S_free_list): Don't qualify _NFREELISTS.

* stl_alloc.h (default_alloc_template::_S_free_list): Don't
	qualify _NFREELISTS.

From-SVN: r23491
This commit is contained in:
Mark Mitchell 1998-11-01 16:47:09 +00:00 committed by Mark Mitchell
parent 3bfdc7190f
commit bdda080307
2 changed files with 5 additions and 4 deletions

View File

@ -1,3 +1,8 @@
1998-11-01 Mark Mitchell <mark@markmitchell.com>
* stl_alloc.h (default_alloc_template::_S_free_list): Don't
qualify _NFREELISTS.
1998-10-11 Mark Mitchell <mark@markmitchell.com>
* stl_config.h (__SGI_STL_USE_AUTO_PTR_CONVERSIONS): Define.

View File

@ -679,11 +679,7 @@ size_t __default_alloc_template<__threads, __inst>::_S_heap_size = 0;
template <bool __threads, int __inst>
__default_alloc_template<__threads, __inst>::_Obj* __VOLATILE
__default_alloc_template<__threads, __inst> ::_S_free_list[
# ifdef __SUNPRO_CC
_NFREELISTS
# else
__default_alloc_template<__threads, __inst>::_NFREELISTS
# endif
] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, };
// The 16 zeros are necessary to make version 4.1 of the SunPro
// compiler happy. Otherwise it appears to allocate too little