fix hash implementation

This commit is contained in:
bolero-MURAKAMI 2013-02-04 23:10:24 +09:00
parent 6e5f4c5606
commit c72ab5c6c1
8 changed files with 12 additions and 10 deletions

View file

@ -10,7 +10,7 @@
#include <sprout/config.hpp>
#include <sprout/container/traits.hpp>
#include <sprout/iterator/index_iterator.hpp>
#include <sprout/functional/hash/hash.hpp>
#include <sprout/functional/hash.hpp>
#include <sprout/algorithm/all_of.hpp>
#include <sprout/algorithm/any_of.hpp>
#include <sprout/algorithm/find_if.hpp>
@ -641,7 +641,7 @@ namespace sprout {
}
SPROUT_CONSTEXPR std::size_t do_to_hash() const {
return sprout::hash_value(w_);
return sprout::to_hash(w_);
}
};