summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include/profile
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2013-04-25 09:42:46 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2013-04-25 09:42:46 +0000
commit2c04f9dad82e2a99f2a5d9f3462eb3eb0d26ec92 (patch)
treec259932e0323ae5053034c49d3ebc494549893e9 /libstdc++-v3/include/profile
parent66a71b3dbecd78fe11cc0ccc0850097ea9ce31bb (diff)
downloadppe42-gcc-2c04f9dad82e2a99f2a5d9f3462eb3eb0d26ec92.tar.gz
ppe42-gcc-2c04f9dad82e2a99f2a5d9f3462eb3eb0d26ec92.zip
2013-04-25 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/57065 * include/debug/unordered_map (unordered_map, unordered_multimap): Fix default allocator type. * include/profile/unordered_map (unordered_map, unordered_multimap): Likewise. * include/bits/unordered_map.h: Fix comments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198279 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/profile')
-rw-r--r--libstdc++-v3/include/profile/unordered_map8
1 files changed, 4 insertions, 4 deletions
diff --git a/libstdc++-v3/include/profile/unordered_map b/libstdc++-v3/include/profile/unordered_map
index 0fee176e14a..f594ab8752c 100644
--- a/libstdc++-v3/include/profile/unordered_map
+++ b/libstdc++-v3/include/profile/unordered_map
@@ -44,9 +44,9 @@ namespace __profile
{
/// Class std::unordered_map wrapper with performance instrumentation.
template<typename _Key, typename _Tp,
- typename _Hash = std::hash<_Key>,
+ typename _Hash = std::hash<_Key>,
typename _Pred = std::equal_to<_Key>,
- typename _Alloc = std::allocator<_Key> >
+ typename _Alloc = std::allocator<std::pair<const _Key, _Tp> > >
class unordered_map
: public _GLIBCXX_STD_BASE
{
@@ -346,9 +346,9 @@ namespace __profile
/// Class std::unordered_multimap wrapper with performance instrumentation.
template<typename _Key, typename _Tp,
- typename _Hash = std::hash<_Key>,
+ typename _Hash = std::hash<_Key>,
typename _Pred = std::equal_to<_Key>,
- typename _Alloc = std::allocator<_Key> >
+ typename _Alloc = std::allocator<std::pair<const _Key, _Tp> > >
class unordered_multimap
: public _GLIBCXX_STD_BASE
{
OpenPOWER on IntegriCloud