From 54cc9874fd081f49c678daa8dc97299e89d9a000 Mon Sep 17 00:00:00 2001 From: Paolo Carlini Date: Fri, 6 May 2011 15:55:39 +0000 Subject: [PATCH] named_equivalence.cc: Fix. 2011-05-06 Paolo Carlini * testsuite/22_locale/messages_byname/named_equivalence.cc: Fix. From-SVN: r173494 --- libstdc++-v3/ChangeLog | 4 ++++ .../22_locale/messages_byname/named_equivalence.cc | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 7b766dc3393..ea642a1df74 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2011-05-06 Paolo Carlini + + * testsuite/22_locale/messages_byname/named_equivalence.cc: Fix. + 2011-05-04 Marc Glisse PR libstdc++/47913 (again) diff --git a/libstdc++-v3/testsuite/22_locale/messages_byname/named_equivalence.cc b/libstdc++-v3/testsuite/22_locale/messages_byname/named_equivalence.cc index c1f9b3e9bf3..0408f9c7dcf 100644 --- a/libstdc++-v3/testsuite/22_locale/messages_byname/named_equivalence.cc +++ b/libstdc++-v3/testsuite/22_locale/messages_byname/named_equivalence.cc @@ -2,7 +2,7 @@ // 2001-07-17 Benjamin Kosnik -// Copyright (C) 2001, 2003, 2005, 2009 Free Software Foundation +// Copyright (C) 2001, 2003, 2005, 2009, 2011 Free Software Foundation // // 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 @@ -62,8 +62,8 @@ void test01() // Check byname locale. catalog cat_byname = mssg_byname.open("libstdc++", loc_c, dir); - string s03 = mssg_byname.get(cat_de, 0, 0, "please"); - string s04 = mssg_byname.get(cat_de, 0, 0, "thank you"); + string s03 = mssg_byname.get(cat_byname, 0, 0, "please"); + string s04 = mssg_byname.get(cat_byname, 0, 0, "thank you"); VERIFY ( s03 == "bitte" ); VERIFY ( s04 == "danke" ); mssg_byname.close(cat_byname); -- 2.30.2