From 182c8f8357739f905bbd721006480502435b6b43 Mon Sep 17 00:00:00 2001 From: rtk0c Date: Sun, 27 Nov 2022 12:04:31 -0800 Subject: Update brace style to match rest of my projects --- app/source/Cplt/Utils/VectorHash.hpp | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) (limited to 'app/source/Cplt/Utils/VectorHash.hpp') diff --git a/app/source/Cplt/Utils/VectorHash.hpp b/app/source/Cplt/Utils/VectorHash.hpp index f649367..80a92fb 100644 --- a/app/source/Cplt/Utils/VectorHash.hpp +++ b/app/source/Cplt/Utils/VectorHash.hpp @@ -7,10 +7,8 @@ #include template -struct std::hash> -{ - size_t operator()(const Vec2& vec) const - { +struct std::hash> { + size_t operator()(const Vec2& vec) const { size_t result; HashUtils::Combine(result, vec.x); HashUtils::Combine(result, vec.y); @@ -19,10 +17,8 @@ struct std::hash> }; template -struct std::hash> -{ - size_t operator()(const Vec3& vec) const - { +struct std::hash> { + size_t operator()(const Vec3& vec) const { size_t result; HashUtils::Combine(result, vec.x); HashUtils::Combine(result, vec.y); @@ -32,10 +28,8 @@ struct std::hash> }; template -struct std::hash> -{ - size_t operator()(const Vec4& vec) const - { +struct std::hash> { + size_t operator()(const Vec4& vec) const { size_t result; HashUtils::Combine(result, vec.x); HashUtils::Combine(result, vec.y); -- cgit v1.2.3-70-g09d2