diff --git a/headers/ECS.hpp b/headers/ECS.hpp index b639d7e..750dd31 100644 --- a/headers/ECS.hpp +++ b/headers/ECS.hpp @@ -49,7 +49,6 @@ public: // Components template T &AddComponent(const Entity &entity, Args &&...constructionArguments) { - // Insert to entity list auto entityIter = GetEntityIterator( entity, std::format( diff --git a/headers/Types.hpp b/headers/Types.hpp index 134eb79..0dccc0b 100644 --- a/headers/Types.hpp +++ b/headers/Types.hpp @@ -41,10 +41,8 @@ namespace std { template <> struct hash { size_t operator()(const Tourmaline::Type::UUID &uuid) const noexcept { const auto data = uuid.data.get(); - size_t h1 = std::hash{}(data[0]); - size_t h2 = std::hash{}(data[1]); - - // Combine the two hashes + size_t h1 = std::hash{}(data[0]), + h2 = std::hash{}(data[1]); return h1 ^ (h2 << 1); } };