diff --git a/include/boost/intrusive/unordered_set.hpp b/include/boost/intrusive/unordered_set.hpp index 392e83d..780fb46 100644 --- a/include/boost/intrusive/unordered_set.hpp +++ b/include/boost/intrusive/unordered_set.hpp @@ -557,7 +557,7 @@ class unordered_set_impl //! Complexity: Average case O(1), worst case O(this->size()). //! //! Throws: If hash_func or equal_func throw. - template + template size_type count(const KeyType& key, KeyHasher hash_func, KeyValueEqual equal_func) const { return table_.find(key, hash_func, equal_func) != end(); } @@ -1488,7 +1488,7 @@ class unordered_multiset_impl //! Complexity: Average case O(1), worst case O(this->size()). //! //! Throws: If the internal hasher or the equality functor throws. - template + template size_type count(const KeyType& key, KeyHasher hash_func, KeyValueEqual equal_func) const { return table_.count(key, hash_func, equal_func); }