PR-82: Fix indent

This commit is contained in:
Lynix
2016-10-13 04:48:19 +02:00
parent 5ea3eab8fc
commit 5d5c7b4284
6 changed files with 54 additions and 71 deletions

View File

@@ -1059,28 +1059,25 @@ Nz::Vector2<T> operator/(T scale, const Nz::Vector2<T>& vec)
namespace std
{
template<class T>
struct hash<Nz::Vector2<T>>
{
/*!
* \brief Specialisation of std to hash
* \return Result of the hash
*
* \param v Vector2 to hash
*/
std::size_t operator()(const Nz::Vector2<T>& v) const
template<class T>
struct hash<Nz::Vector2<T>>
{
std::size_t seed {};
/*!
* \brief Specialisation of std to hash
* \return Result of the hash
*
* \param v Vector2 to hash
*/
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;
}
};
Nz::HashCombine(seed, v.x);
Nz::HashCombine(seed, v.y);
return seed;
}
};
}
#undef F