diff options
author | hp <hp@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-02-19 15:33:59 +0000 |
---|---|---|
committer | hp <hp@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-02-19 15:33:59 +0000 |
commit | 448a741e6666a580981749bfb5faec20968d5e9c (patch) | |
tree | 63ba8ab9c3750d05f3279a097cfff00380ac3b24 /libstdc++-v3 | |
parent | b456acda8519cfc0acd5aba3586ed5336f809b2d (diff) | |
download | gcc-448a741e6666a580981749bfb5faec20968d5e9c.tar.gz |
PR libstdc++/20071
* include/tr1/functional (hash<std::wstring>): Wrap in #ifdef
_GLIBCXX_USE_WCHAR_T.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95279 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/ChangeLog | 6 | ||||
-rw-r--r-- | libstdc++-v3/include/tr1/functional | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 9b27b0b65e9..84299a131b3 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2005-02-19 Hans-Peter Nilsson <hp@axis.com> + + PR libstdc++/20071 + * include/tr1/functional (hash<std::wstring>): Wrap in #ifdef + _GLIBCXX_USE_WCHAR_T. + 2005-02-18 Richard Henderson <rth@redhat.com> PR libstdc++/10606 diff --git a/libstdc++-v3/include/tr1/functional b/libstdc++-v3/include/tr1/functional index d53c99a9a5d..d3d681cf01f 100644 --- a/libstdc++-v3/include/tr1/functional +++ b/libstdc++-v3/include/tr1/functional @@ -135,6 +135,7 @@ namespace tr1 } }; +#ifdef _GLIBCXX_USE_WCHAR_T template <> struct hash<std::wstring> { @@ -146,6 +147,7 @@ namespace tr1 return result; } }; +#endif } } |