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/profile/vector | |
| 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/profile/vector')
| -rw-r--r-- | libstdc++-v3/include/profile/vector | 4 |
1 files changed, 2 insertions, 2 deletions
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()); } }; |

