From e63a5d07add5b586a3ac921f534227fb7afe2df4 Mon Sep 17 00:00:00 2001 From: Benjamin Kosnik Date: Fri, 22 Dec 2000 11:06:17 +0000 Subject: [PATCH] 000-12-22 Benjamin Kosnik Attempt to make locale visible in gdb. * include/bits/std_locale.h: Remove codecvt.h include. * include/bits/locale_facets.h: Add here, after ctype decls. * include/bits/codecvt.h: Remove std namespace, as assumed to be in std now. * include/bits/locale_facets.h: Consistently move generic static member definitions directly after generic facet declarations. * include/bits/locale_facets.tcc: From here. * src/locale.cc: Organize locale::id static definitions for required facets. * src/codecvt.cc (codecvt): Remove locale::id definition. (codecvt): Same. * src/localename: And here. * include/bits/localefwd.h (_Count_ones): Change _S_count to _M_count. Same for _M_halfcount. From-SVN: r38450 --- libstdc++-v3/ChangeLog | 1 - libstdc++-v3/include/bits/localefwd.h | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 2e63a936c10..d393cf79252 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -18,7 +18,6 @@ * include/bits/localefwd.h (_Count_ones): Change _S_count to _M_count. Same for _M_halfcount. - (std): make locale::_Impl protected. CHANGE BACK 2000-12-22 Alexandre Oliva diff --git a/libstdc++-v3/include/bits/localefwd.h b/libstdc++-v3/include/bits/localefwd.h index fdbc1ce99cb..77731c52236 100644 --- a/libstdc++-v3/include/bits/localefwd.h +++ b/libstdc++-v3/include/bits/localefwd.h @@ -329,8 +329,7 @@ namespace std friend bool has_facet(const locale&) throw(); - // private: - protected: + private: // Data Members. size_t _M_references; __vec_facet* _M_facets; -- 2.30.2