OSDN Git Service

2006-09-20 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / testsuite / performance / ext / pb_ds / random_int_find_timing.cc
index ce7c569..7ac42c8 100644 (file)
@@ -44,7 +44,7 @@
  * Contains test for finding random integers.
  */
 
-#include <ext/pb_ds/detail/typelist.hpp>
+#include <ext/typelist.h>
 #include <performance/io/xml_formatter.hpp>
 #include <native_type/assoc/native_hash_map.hpp>
 #include <native_type/assoc/native_map.hpp>
@@ -52,7 +52,6 @@
 #include <rng/twister_rand_gen.hpp>
 #include <common_type/assoc/common_type.hpp>
 #include <performance/assoc/timing/find_test.hpp>
-#include <ext/pb_ds/detail/typelist.hpp>
 #include <iostream>
 #include <vector>
 
@@ -83,24 +82,24 @@ main(int argc, char* a_p_argv[])
       test_t tst(b, b, vn, vs, vm, vn, vs, vm);
       {
        typedef native_hash_map< int, char> native_t;
-       tst(pb_ds::detail::type_to_type<native_t>());
+       tst(__gnu_cxx::typelist::detail::type_to_type<native_t>());
       }
 
       {
        typedef native_map< int, char> native_t;
-       tst(pb_ds::detail::type_to_type<native_t>());
+       tst(__gnu_cxx::typelist::detail::type_to_type<native_t>());
       }
 
       {
        typedef hash_common_types<int, char>::performance_tl tl_t;
        tl_t tl;
-       pb_ds::detail::typelist_apply(tst, tl);
+       __gnu_cxx::typelist::apply(tst, tl);
       }
 
       {
        typedef tree_common_types<int, char>::performance_tl tl_t;
        tl_t tl;
-       pb_ds::detail::typelist_apply(tst, tl);
+       __gnu_cxx::typelist::apply(tst, tl);
       }
     }
   catch (...)