OSDN Git Service

* stl_alloc.h (default_alloc_template::_S_free_list): Don't
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 1 Nov 1998 16:47:09 +0000 (16:47 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 1 Nov 1998 16:47:09 +0000 (16:47 +0000)
qualify _NFREELISTS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23491 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++/stl/ChangeLog
libstdc++/stl/stl_alloc.h

index 848f74b..e7ef065 100644 (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.
index 3a773b4..cc3b681 100644 (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