Update for latest nazarautils update
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
// This file is part of the "Nazara Engine - Math module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/Algorithm.hpp>
|
||||
#include <NazaraUtils/Hash.hpp>
|
||||
#include <cstring>
|
||||
#include <limits>
|
||||
#include <sstream>
|
||||
@@ -774,15 +774,9 @@ namespace std
|
||||
*/
|
||||
std::size_t operator()(const Nz::Vector2<T>& v) const
|
||||
{
|
||||
std::size_t seed {};
|
||||
|
||||
Nz::HashCombine(seed, v.x);
|
||||
Nz::HashCombine(seed, v.y);
|
||||
|
||||
return seed;
|
||||
return Nz::HashCombine(v.x, v.y);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
#include <Nazara/Core/DebugOff.hpp>
|
||||
#include "Vector2.hpp"
|
||||
|
||||
Reference in New Issue
Block a user