From 77d2d62ba130e04be031c527c640612f1838ad95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Tue, 18 Mar 2008 08:10:08 +0000 Subject: [PATCH] #1683: Boost Intrusive - Superflous template parameter [SVN r43697] --- include/boost/intrusive/unordered_set.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }