From 2ea247d37649742155a8b77327bc25b896709c59 Mon Sep 17 00:00:00 2001 From: Paolo Carlini Date: Tue, 30 Sep 2003 17:19:33 +0200 Subject: [PATCH] 12352.cc: Explicitly qualify exception name. 2003-09-30 Paolo Carlini * testsuite/22_locale/locale/cons/12352.cc: Explicitly qualify exception name. From-SVN: r71945 --- libstdc++-v3/ChangeLog | 5 +++++ libstdc++-v3/testsuite/22_locale/locale/cons/12352.cc | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 6b713d504caf..410d65c24993 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2003-09-30 Paolo Carlini + + * testsuite/22_locale/locale/cons/12352.cc: Explicitly + qualify exception name. + 2003-09-30 Paolo Carlini PR libstdc++/12438 diff --git a/libstdc++-v3/testsuite/22_locale/locale/cons/12352.cc b/libstdc++-v3/testsuite/22_locale/locale/cons/12352.cc index 71b041398bc2..06e7e0d14273 100644 --- a/libstdc++-v3/testsuite/22_locale/locale/cons/12352.cc +++ b/libstdc++-v3/testsuite/22_locale/locale/cons/12352.cc @@ -91,7 +91,6 @@ void operator delete[](void* p, const std::nothrow_t&) throw() // libstdc++/12352 void test01(int iters) { - using namespace std; bool test __attribute__((unused)) = true; for (int j = 0; j < iters; ++j) @@ -101,10 +100,11 @@ void test01(int iters) times_to_fail = i; try { - locale loc1(""); - locale loc2(loc1, locale::classic(), locale::numeric); + std::locale loc1(""); + std::locale loc2(loc1, std::locale::classic(), + std::locale::numeric); } - catch (exception&) + catch (std::exception&) { } } -- 2.43.5