1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

fix hash implementation

This commit is contained in:
bolero-MURAKAMI 2013-02-04 23:48:18 +09:00
parent c72ab5c6c1
commit 3ddcd6cfd0
8 changed files with 25 additions and 23 deletions

View file

@ -437,7 +437,7 @@ namespace sprout {
}
SPROUT_CONSTEXPR std::size_t do_to_hash() const {
return sprout::hash_range(begin(), end());
return sprout::hash_range(*this);
}
word_type& operator[](std::size_t i) {