summaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/profile
diff options
context:
space:
mode:
authorPaolo Carlini <paolo.carlini@oracle.com>2010-03-03 02:01:56 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2010-03-03 02:01:56 +0000
commit95addb1b84b8912649a842b3185173d61a532f81 (patch)
treed8ce7ea18f80b87198a51c0a189f12c00a168220 /libstdc++-v3/include/profile
parent055f6a476cc87ede98951518dc34f9a80c4f2ea2 (diff)
downloadgcc-95addb1b84b8912649a842b3185173d61a532f81.tar.gz
bitset (hash): Minor tweaks.
2010-03-02 Paolo Carlini <paolo.carlini@oracle.com> * include/debug/bitset (hash): Minor tweaks. * include/debug/vector (hash): Likewise. * include/profile/bitset (hash): Likewise. * include/profile/vector (hash): Likewise. From-SVN: r157186
Diffstat (limited to 'libstdc++-v3/include/profile')
-rw-r--r--libstdc++-v3/include/profile/bitset6
-rw-r--r--libstdc++-v3/include/profile/vector4
2 files changed, 5 insertions, 5 deletions
diff --git a/libstdc++-v3/include/profile/bitset b/libstdc++-v3/include/profile/bitset
index fb47566ec28..f6b8249a321 100644
--- a/libstdc++-v3/include/profile/bitset
+++ b/libstdc++-v3/include/profile/bitset
@@ -358,11 +358,11 @@ namespace __profile
// DR 1182.
/// std::hash specialization for bitset.
template<size_t _Nb>
- struct hash<std::__profile::bitset<_Nb>>
- : public std::unary_function<std::__profile::bitset<_Nb>, size_t>
+ struct hash<__profile::bitset<_Nb>>
+ : public std::unary_function<__profile::bitset<_Nb>, size_t>
{
size_t
- operator()(const std::__profile::bitset<_Nb>& __b) const
+ operator()(const __profile::bitset<_Nb>& __b) const
{ return std::hash<_GLIBCXX_STD_D::bitset<_Nb>>()(__b._M_base()); }
};
#endif
diff --git a/libstdc++-v3/include/profile/vector b/libstdc++-v3/include/profile/vector
index f7c18713544..ad74137583c 100644
--- a/libstdc++-v3/include/profile/vector
+++ b/libstdc++-v3/include/profile/vector
@@ -467,10 +467,10 @@ namespace __profile
/// std::hash specialization for vector<bool>.
template<typename _Alloc>
struct hash<__profile::vector<bool, _Alloc>>
- : public std::unary_function<std::__profile::vector<bool, _Alloc>, size_t>
+ : public std::unary_function<__profile::vector<bool, _Alloc>, size_t>
{
size_t
- operator()(const std::__profile::vector<bool, _Alloc>& __b) const
+ operator()(const __profile::vector<bool, _Alloc>& __b) const
{ return std::hash<_GLIBCXX_STD_D::vector<bool, _Alloc>>()
(__b._M_base()); }
};