dense_map: get rid of unnecessary template parameter

This commit is contained in:
skypjack
2026-01-29 12:49:59 +01:00
parent 9d0028e036
commit 84ba626acd

View File

@@ -748,7 +748,6 @@ public:
* @param key Key value of an element to search for.
* @return Number of elements matching the key (either 1 or 0).
*/
template<typename Other>
[[nodiscard]] size_type count(const auto &key) const
requires is_transparent_v<hasher> && is_transparent_v<key_equal> {
return find(key) != end();