diff options
| author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-03-03 02:01:56 +0000 |
|---|---|---|
| committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-03-03 02:01:56 +0000 |
| commit | 7b80cc2b00db6556c778f930d86237d2c03117ec (patch) | |
| tree | d8ce7ea18f80b87198a51c0a189f12c00a168220 /libstdc++-v3/include/debug/bitset | |
| parent | 5d279b6df2658c28ae89e52285869bf175409430 (diff) | |
| download | ppe42-gcc-7b80cc2b00db6556c778f930d86237d2c03117ec.tar.gz ppe42-gcc-7b80cc2b00db6556c778f930d86237d2c03117ec.zip | |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157186 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/debug/bitset')
| -rw-r--r-- | libstdc++-v3/include/debug/bitset | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libstdc++-v3/include/debug/bitset b/libstdc++-v3/include/debug/bitset index 034505d2c89..f452062e154 100644 --- a/libstdc++-v3/include/debug/bitset +++ b/libstdc++-v3/include/debug/bitset @@ -384,11 +384,11 @@ namespace __debug // DR 1182. /// std::hash specialization for bitset. template<size_t _Nb> - struct hash<std::__debug::bitset<_Nb>> - : public std::unary_function<std::__debug::bitset<_Nb>, size_t> + struct hash<__debug::bitset<_Nb>> + : public std::unary_function<__debug::bitset<_Nb>, size_t> { size_t - operator()(const std::__debug::bitset<_Nb>& __b) const + operator()(const __debug::bitset<_Nb>& __b) const { return std::hash<_GLIBCXX_STD_D::bitset<_Nb>>()(__b._M_base()); } }; #endif |

