Boost logo

Boost-Commit :

From: daniel_james_at_[hidden]
Date: 2007-12-20 05:47:43


Author: danieljames
Date: 2007-12-20 05:47:43 EST (Thu, 20 Dec 2007)
New Revision: 42197
URL: http://svn.boost.org/trac/boost/changeset/42197

Log:
Fix group_hash's return type.

Text files modified:
   branches/unordered/dev/boost/unordered/detail/hash_table_impl.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: branches/unordered/dev/boost/unordered/detail/hash_table_impl.hpp
==============================================================================
--- branches/unordered/dev/boost/unordered/detail/hash_table_impl.hpp (original)
+++ branches/unordered/dev/boost/unordered/detail/hash_table_impl.hpp 2007-12-20 05:47:43 EST (Thu, 20 Dec 2007)
@@ -1886,14 +1886,14 @@
                 return true;
             }
 
- inline bool group_hash(link_ptr it, type_wrapper<key_type>*) const
+ inline std::size_t group_hash(link_ptr it, type_wrapper<key_type>*) const
             {
                 std::size_t seed = data::group_count(it);
                 boost::hash_combine(seed, hash_function()(data::get_value(it)));
                 return seed;
             }
 
- inline bool group_hash(link_ptr it, void*) const
+ inline std::size_t group_hash(link_ptr it, void*) const
             {
                 std::size_t seed = hash_function()(data::get_value(it).first);
 


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