aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/ext/pb_ds/example/tree_join.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/testsuite/ext/pb_ds/example/tree_join.cc')
-rw-r--r--libstdc++-v3/testsuite/ext/pb_ds/example/tree_join.cc15
1 files changed, 4 insertions, 11 deletions
diff --git a/libstdc++-v3/testsuite/ext/pb_ds/example/tree_join.cc b/libstdc++-v3/testsuite/ext/pb_ds/example/tree_join.cc
index 795456ab6d5..baba67e7292 100644
--- a/libstdc++-v3/testsuite/ext/pb_ds/example/tree_join.cc
+++ b/libstdc++-v3/testsuite/ext/pb_ds/example/tree_join.cc
@@ -59,8 +59,8 @@
#include <cassert>
using namespace std;
-using namespace pb_ds;
-using namespace pb_ds;
+using namespace __gnu_pbds;
+using namespace __gnu_pbds;
int main()
{
@@ -68,14 +68,7 @@ int main()
*
*/
// A splay tree table mapping ints to chars.
- typedef
- tree<
- int,
- char,
- less<
- int>,
- splay_tree_tag>
- map_t;
+ typedef tree<int, char, less<int>, splay_tree_tag> map_t;
// Two map_t object.
map_t h0, h1;
@@ -114,7 +107,7 @@ int main()
{
h2.join(h3);
}
- catch (pb_ds::join_error& )
+ catch (__gnu_pbds::join_error& )
{
exception_thrown = true;
}