From 99474842272c69079837c09c3258f352663df0b6 Mon Sep 17 00:00:00 2001 From: paolo Date: Sat, 21 Aug 2004 14:40:53 +0000 Subject: [PATCH] 2004-08-21 Paolo Carlini * include/bits/char_traits.h (struct _Char_traits_match): Remove, unused. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86364 138bc75d-0d04-0410-961f-82ee72b054a4 --- libstdc++-v3/ChangeLog | 5 +++++ libstdc++-v3/include/bits/char_traits.h | 11 +---------- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 40ef639..ed43a1e 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,10 @@ 2004-08-21 Paolo Carlini + * include/bits/char_traits.h (struct _Char_traits_match): Remove, + unused. + +2004-08-21 Paolo Carlini + * testsuite/22_locale/money_put/put/wchar_t/1.cc: Use proper wchar_t type for the fill argument; minor formatting tweaks. * testsuite/22_locale/money_put/put/wchar_t/12971.cc: Likewise. diff --git a/libstdc++-v3/include/bits/char_traits.h b/libstdc++-v3/include/bits/char_traits.h index 323fdfb..cd5c672 100644 --- a/libstdc++-v3/include/bits/char_traits.h +++ b/libstdc++-v3/include/bits/char_traits.h @@ -1,6 +1,6 @@ // Character Traits for use by standard string and iostream -*- C++ -*- -// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 +// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 // Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free @@ -362,15 +362,6 @@ namespace std }; #endif //_GLIBCXX_USE_WCHAR_T - template - struct _Char_traits_match - { - _CharT _M_c; - _Char_traits_match(_CharT const& __c) : _M_c(__c) { } - - bool - operator()(_CharT const& __a) { return _Traits::eq(_M_c, __a); } - }; } // namespace std #endif -- 2.7.4