diff options
-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 9b27b0b..84299a1 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 d53c99a..d3d681c 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 } } |