From: hubicka Date: Sat, 2 May 2009 13:22:49 +0000 (+0000) Subject: * include/tr1_impl/functional_hash.h (explicit specializations of () X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=commitdiff_plain;h=35bdd6604bf525d533683b7b4e0096e0a70bcd66;hp=2ccfd743f9eedbbf26f6d7c8c675a4c17eabe024 * include/tr1_impl/functional_hash.h (explicit specializations of () operator): Mark pure. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147062 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 7e4f7322881..64a94ec81ed 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2009-05-02 Jan Hubicka + + * include/tr1_impl/functional_hash.h (explicit specializations of () + operator): Mark pure. + 2009-04-30 Jonathan Wakely * scripts/create_testsuite_files: Remove thread directory. diff --git a/libstdc++-v3/include/tr1_impl/functional_hash.h b/libstdc++-v3/include/tr1_impl/functional_hash.h index 665168c0f5f..0b963e00f17 100644 --- a/libstdc++-v3/include/tr1_impl/functional_hash.h +++ b/libstdc++-v3/include/tr1_impl/functional_hash.h @@ -157,25 +157,25 @@ _GLIBCXX_BEGIN_NAMESPACE_TR1 /// Explicit specializations for long double. template<> - size_t + _GLIBCXX_PURE size_t hash::operator()(long double __val) const; /// Explicit specialization of member operator for non-builtin types. template<> - size_t + _GLIBCXX_PURE size_t hash::operator()(string) const; template<> - size_t + _GLIBCXX_PURE size_t hash::operator()(const string&) const; #ifdef _GLIBCXX_USE_WCHAR_T template<> - size_t + _GLIBCXX_PURE size_t hash::operator()(wstring) const; template<> - size_t + _GLIBCXX_PURE size_t hash::operator()(const wstring&) const; #endif