Changeset 6d80237 in mainline


Ignore:
Timestamp:
2018-07-05T21:41:21Z (6 years ago)
Author:
Dzejrou <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
db628a0
Parents:
c23f16d8
git-author:
Dzejrou <dzejrou@…> (2018-04-25 18:36:47)
git-committer:
Dzejrou <dzejrou@…> (2018-07-05 21:41:21)
Message:

cpp: fixed a compilation error caused by template parameter shadowing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/cpp/include/impl/unordered_map.hpp

    rc23f16d8 r6d80237  
    835835            static constexpr size_type default_bucket_count_{16};
    836836
    837             template<class Key, class Value, class Hash, class Pred, class Alloc>
    838             friend bool operator==(unordered_map<Key, Value, Hash, Pred, Alloc>&,
    839                                    unordered_map<Key, Value, Hash, Pred, Alloc>&);
     837            template<class K, class V, class H, class P, class A>
     838            friend bool operator==(unordered_map<K, V, H, P, A>&,
     839                                   unordered_map<K, V, H, P, A>&);
    840840    };
    841841
Note: See TracChangeset for help on using the changeset viewer.