diff options
Diffstat (limited to 'contrib/libstdc++/include/ext/pool_allocator.h')
-rw-r--r-- | contrib/libstdc++/include/ext/pool_allocator.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/libstdc++/include/ext/pool_allocator.h b/contrib/libstdc++/include/ext/pool_allocator.h index eec79e7..0f087a0 100644 --- a/contrib/libstdc++/include/ext/pool_allocator.h +++ b/contrib/libstdc++/include/ext/pool_allocator.h @@ -48,6 +48,7 @@ #define _POOL_ALLOCATOR_H 1 #include <bits/c++config.h> +#include <cstdlib> #include <new> #include <bits/functexcept.h> #include <bits/atomicity.h> @@ -72,7 +73,7 @@ namespace __gnu_cxx * @endif * (See @link Allocators allocators info @endlink for more.) */ - class __pool_base + class __pool_alloc_base { protected: @@ -116,7 +117,7 @@ namespace __gnu_cxx template<typename _Tp> - class __pool_alloc : private __pool_base + class __pool_alloc : private __pool_alloc_base { private: static _Atomic_word _S_force_new; |