diff --git a/include/Nazara/Math/Vector2.inl b/include/Nazara/Math/Vector2.inl index c602052f3..19313c3e4 100644 --- a/include/Nazara/Math/Vector2.inl +++ b/include/Nazara/Math/Vector2.inl @@ -1063,24 +1063,26 @@ namespace std template struct hash> { - /*! - * \brief Specialisation of std to hash - * \return Result of the hash - * - * \param v Vector2 to hash - */ + /*! + * \brief Specialisation of std to hash + * \return Result of the hash + * + * \param v Vector2 to hash + */ - std::size_t operator()(const Nz::Vector2& v) const - { - std::size_t seed {}; + std::size_t operator()(const Nz::Vector2& v) const + { + std::size_t seed {}; - Nz::HashCombine(seed, v.x); - Nz::HashCombine(seed, v.y); + Nz::HashCombine(seed, v.x); + Nz::HashCombine(seed, v.y); - return seed; - } + return seed; + } }; +} + #undef F #include