forked from boostorg/container_hash
Change hash_detail::hash_range to take and return by value to avoid It=char* aliasing
This commit is contained in:
1 parent
b4e0643ecd
commit
e391cf6841
2 files changed
+20
-13
No files matched your search
@@ -560,7 +560,7 @@ namespace boost
|
||||
template <class It>
|
||||
inline void hash_range( std::size_t& seed, It first, It last )
|
||||
{
|
||||
hash_detail::hash_range( seed, first, last );
|
||||
seed = hash_detail::hash_range( seed, first, last );
|
||||
}
|
||||
|
||||
template <class It>
|
||||
|
||||
Reference in new issue
Block a user