Boost logo

Boost-Commit :

From: igaztanaga_at_[hidden]
Date: 2008-03-18 04:10:11


Author: igaztanaga
Date: 2008-03-18 04:10:08 EDT (Tue, 18 Mar 2008)
New Revision: 43697
URL: http://svn.boost.org/trac/boost/changeset/43697

Log:
#1683: Boost Intrusive - Superflous template parameter
Text files modified:
   branches/release/boost/intrusive/unordered_set.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: branches/release/boost/intrusive/unordered_set.hpp
==============================================================================
--- branches/release/boost/intrusive/unordered_set.hpp (original)
+++ branches/release/boost/intrusive/unordered_set.hpp 2008-03-18 04:10:08 EDT (Tue, 18 Mar 2008)
@@ -557,7 +557,7 @@
    //! <b>Complexity</b>: Average case O(1), worst case O(this->size()).
    //!
    //! <b>Throws</b>: If hash_func or equal_func throw.
- template<class KeyType, class KeyHasher, class KeyValueEqual, class Disposer>
+ template<class KeyType, class KeyHasher, class KeyValueEqual>
    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 @@
    //! <b>Complexity</b>: Average case O(1), worst case O(this->size()).
    //!
    //! <b>Throws</b>: If the internal hasher or the equality functor throws.
- template<class KeyType, class KeyHasher, class KeyValueEqual, class Disposer>
+ template<class KeyType, class KeyHasher, class KeyValueEqual>
    size_type count(const KeyType& key, KeyHasher hash_func, KeyValueEqual equal_func) const
    { return table_.count(key, hash_func, equal_func); }
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk