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

@ -122,10 +122,7 @@ template<typename T> Nz::Vector2<T> operator/(T scale, const Nz::Vector2<T>& vec
namespace std
{
template<class T>
struct hash<Nz::Vector2<T>>;
template<class T> struct hash<Nz::Vector2<T>>;
}
#include <Nazara/Math/Vector2.inl>

View File

@ -1059,17 +1059,15 @@ Nz::Vector2<T> operator/(T scale, const Nz::Vector2<T>& vec)
namespace std
{
template<class T>
struct hash<Nz::Vector2<T>>
{
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
{
std::size_t seed {};
@ -1079,8 +1077,7 @@ struct hash<Nz::Vector2<T>>
return seed;
}
};
};
}
#undef F

View File

@ -144,10 +144,7 @@ template<typename T> Nz::Vector3<T> operator/(T scale, const Nz::Vector3<T>& vec
namespace std
{
template<class T>
struct hash<Nz::Vector3<T>>;
template<class T> struct hash<Nz::Vector3<T>>;
}
#include <Nazara/Math/Vector3.inl>

View File

@ -1349,10 +1349,9 @@ Nz::Vector3<T> operator/(T scale, const Nz::Vector3<T>& vec)
namespace std
{
template<class T>
struct hash<Nz::Vector3<T>>
{
template<class T>
struct hash<Nz::Vector3<T>>
{
/*!
* \brief Specialisation of std to hash
* \return Result of the hash
@ -1370,8 +1369,7 @@ struct hash<Nz::Vector3<T>>
return seed;
}
};
};
}
#undef F

View File

@ -120,10 +120,7 @@ template<typename T> Nz::Vector4<T> operator/(T scale, const Nz::Vector4<T>& vec
namespace std
{
template<class T>
struct hash<Nz::Vector4<T>>;
template<class T> struct hash<Nz::Vector4<T>>;
}
#include <Nazara/Math/Vector4.inl>

View File

@ -1122,17 +1122,15 @@ Nz::Vector4<T> operator/(T scale, const Nz::Vector4<T>& vec)
namespace std
{
template<class T>
struct hash<Nz::Vector4<T>>
{
template<class T>
struct hash<Nz::Vector4<T>>
{
/*!
* \brief Specialisation of std to hash
* \return Result of the hash
*
* \param v Vector4 to hash
*/
std::size_t operator()(const Nz::Vector4<T>& v) const
{
std::size_t seed {};
@ -1144,8 +1142,7 @@ struct hash<Nz::Vector4<T>>
return seed;
}
};
};
}
#undef F