Fix + indent

This commit is contained in:
S6066 2016-10-12 18:22:53 +02:00 committed by GitHub
parent e1d948c348
commit 255b1cce07
1 changed files with 15 additions and 13 deletions

View File

@ -1063,24 +1063,26 @@ namespace std
template<class T> template<class T>
struct hash<Nz::Vector2<T>> struct hash<Nz::Vector2<T>>
{ {
/*! /*!
* \brief Specialisation of std to hash * \brief Specialisation of std to hash
* \return Result of the hash * \return Result of the hash
* *
* \param v Vector2 to hash * \param v Vector2 to hash
*/ */
std::size_t operator()(const Nz::Vector2<T>& v) const std::size_t operator()(const Nz::Vector2<T>& v) const
{ {
std::size_t seed {}; std::size_t seed {};
Nz::HashCombine(seed, v.x); Nz::HashCombine(seed, v.x);
Nz::HashCombine(seed, v.y); Nz::HashCombine(seed, v.y);
return seed; return seed;
} }
}; };
}
#undef F #undef F
#include <Nazara/Core/DebugOff.hpp> #include <Nazara/Core/DebugOff.hpp>