testsuite_shared.cc: Fix --enable-threads=single build.
authorPaolo Carlini <paolo@gcc.gnu.org>
Tue, 23 May 2006 08:25:15 +0000 (08:25 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Tue, 23 May 2006 08:25:15 +0000 (08:25 +0000)
2006-05-23  Paolo Carlini  <pcarlini@suse.de>

* testsuite/testsuite_shared.cc: Fix --enable-threads=single build.

From-SVN: r114016

libstdc++-v3/testsuite/testsuite_shared.cc

index 58803a2ae4f4c15cb923d63d8d119e622f8915ef..d651442ed03a3ccc26729f0cf337ab8f8778a61c 100644 (file)
@@ -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;