mirror of
https://github.com/boostorg/functional.git
synced 2025-08-02 14:04:27 +02:00
Oops again, I checked in the wrong version of hash.hpp, which had a broken
version of boost::hash_value<complex> in it. So fix that. [SVN r34207]
This commit is contained in:
@@ -334,7 +334,7 @@ namespace boost
|
|||||||
return hash_range(v.begin(), v.end());
|
return hash_range(v.begin(), v.end());
|
||||||
}
|
}
|
||||||
|
|
||||||
template <class K, class T, class C, class A>
|
template <class T>
|
||||||
std::size_t hash_value(std::complex<T> const& v)
|
std::size_t hash_value(std::complex<T> const& v)
|
||||||
{
|
{
|
||||||
boost::hash<T> hasher;
|
boost::hash<T> hasher;
|
||||||
|
Reference in New Issue
Block a user