Changeset 1f6bf85 in mainline


Ignore:
Timestamp:
2023-07-25T13:09:02Z (10 months ago)
Author:
Vojtech Horky <vojtech.horky@…>
Branches:
ticket/834-toolchain-update
Children:
4b992266
Parents:
1339fd9
Message:

C++: resolve ambiguous naming

Location:
uspace/lib/cpp/include/__bits/adt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/cpp/include/__bits/adt/hash_table.hpp

    r1339fd9 r1f6bf85  
    252252            void swap(hash_table& other)
    253253                noexcept(allocator_traits<allocator_type>::is_always_equal::value &&
    254                          noexcept(swap(declval<Hasher&>(), declval<Hasher&>())) &&
    255                          noexcept(swap(declval<KeyEq&>(), declval<KeyEq&>())))
     254                         noexcept(std::swap(declval<Hasher&>(), declval<Hasher&>())) &&
     255                         noexcept(std::swap(declval<KeyEq&>(), declval<KeyEq&>())))
    256256            {
    257257                std::swap(table_, other.table_);
  • uspace/lib/cpp/include/__bits/adt/rbtree.hpp

    r1339fd9 r1f6bf85  
    233233            void swap(rbtree& other)
    234234                noexcept(allocator_traits<allocator_type>::is_always_equal::value &&
    235                          noexcept(swap(declval<KeyComp&>(), declval<KeyComp&>())))
     235                         noexcept(std::swap(declval<KeyComp&>(), declval<KeyComp&>())))
    236236            {
    237237                std::swap(root_, other.root_);
Note: See TracChangeset for help on using the changeset viewer.