Browse Source

dense_map: get rid of unnecessary template parameter

skypjack 1 month ago
parent
commit
84ba626acd
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/entt/container/dense_map.hpp

+ 0 - 1
src/entt/container/dense_map.hpp

@@ -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();