aboutsummaryrefslogtreecommitdiff
path: root/app/source/Cplt/Utils/VectorHash.hpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-11-27 12:04:31 -0800
committerrtk0c <[email protected]>2022-11-27 12:04:31 -0800
commit182c8f8357739f905bbd721006480502435b6b43 (patch)
tree082613a474d863182e2ad8f2167f1643f26e67a3 /app/source/Cplt/Utils/VectorHash.hpp
parentb01ed99a1cd0c863c8709930658513c04dd70f61 (diff)
Update brace style to match rest of my projectscplt-imgui
Diffstat (limited to 'app/source/Cplt/Utils/VectorHash.hpp')
-rw-r--r--app/source/Cplt/Utils/VectorHash.hpp18
1 files changed, 6 insertions, 12 deletions
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 <functional>
template <class T>
-struct std::hash<Vec2<T>>
-{
- size_t operator()(const Vec2<T>& vec) const
- {
+struct std::hash<Vec2<T>> {
+ size_t operator()(const Vec2<T>& vec) const {
size_t result;
HashUtils::Combine(result, vec.x);
HashUtils::Combine(result, vec.y);
@@ -19,10 +17,8 @@ struct std::hash<Vec2<T>>
};
template <class T>
-struct std::hash<Vec3<T>>
-{
- size_t operator()(const Vec3<T>& vec) const
- {
+struct std::hash<Vec3<T>> {
+ size_t operator()(const Vec3<T>& vec) const {
size_t result;
HashUtils::Combine(result, vec.x);
HashUtils::Combine(result, vec.y);
@@ -32,10 +28,8 @@ struct std::hash<Vec3<T>>
};
template <class T>
-struct std::hash<Vec4<T>>
-{
- size_t operator()(const Vec4<T>& vec) const
- {
+struct std::hash<Vec4<T>> {
+ size_t operator()(const Vec4<T>& vec) const {
size_t result;
HashUtils::Combine(result, vec.x);
HashUtils::Combine(result, vec.y);