diff options
author | Paolo Carlini <paolo@gcc.gnu.org> | 2006-05-23 08:25:15 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2006-05-23 08:25:15 +0000 |
commit | dcdf969d4be84628b7a5a62011a1b600b7d8faa3 (patch) | |
tree | 24fa341c5402cd5cc20d704ec51631f5781ffe58 | |
parent | 82e5c68855d007adf445f19154dcaa59f0e91065 (diff) | |
download | gcc-dcdf969d4be84628b7a5a62011a1b600b7d8faa3.zip gcc-dcdf969d4be84628b7a5a62011a1b600b7d8faa3.tar.gz gcc-dcdf969d4be84628b7a5a62011a1b600b7d8faa3.tar.bz2 |
testsuite_shared.cc: Fix --enable-threads=single build.
2006-05-23 Paolo Carlini <pcarlini@suse.de>
* testsuite/testsuite_shared.cc: Fix --enable-threads=single build.
From-SVN: r114016
-rw-r--r-- | libstdc++-v3/testsuite/testsuite_shared.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libstdc++-v3/testsuite/testsuite_shared.cc b/libstdc++-v3/testsuite/testsuite_shared.cc index 58803a2..d651442 100644 --- a/libstdc++-v3/testsuite/testsuite_shared.cc +++ b/libstdc++-v3/testsuite/testsuite_shared.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2004, 2005 Free Software Foundation, Inc. +// Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -28,8 +28,7 @@ try_allocation() { typedef char value_t; - typedef __gnu_cxx::__common_pool_policy<__gnu_cxx::__pool, true> policy_t; - typedef __gnu_cxx::__mt_alloc<value_t, policy_t> allocator_t; + typedef __gnu_cxx::__mt_alloc<value_t> allocator_t; typedef std::char_traits<value_t> traits_t; typedef std::basic_string<value_t, traits_t, allocator_t> string_t; |