diff --git a/headers/ecs.hpp/ecs.hpp b/headers/ecs.hpp/ecs.hpp index 886c5ca..48835fb 100644 --- a/headers/ecs.hpp/ecs.hpp +++ b/headers/ecs.hpp/ecs.hpp @@ -877,9 +877,7 @@ namespace ecs_hpp namespace std { template <> - struct hash final - : std::unary_function - { + struct hash final { std::size_t operator()(const ecs_hpp::entity& ent) const noexcept { return ecs_hpp::detail::hash_combine( std::hash()(&ent.owner()), @@ -947,9 +945,7 @@ namespace ecs_hpp namespace std { template <> - struct hash final - : std::unary_function - { + struct hash final { std::size_t operator()(const ecs_hpp::const_entity& ent) const noexcept { return ecs_hpp::detail::hash_combine( std::hash()(&ent.owner()), @@ -1020,9 +1016,7 @@ namespace ecs_hpp namespace std { template < typename T > - struct hash> - : std::unary_function&, std::size_t> - { + struct hash> { std::size_t operator()(const ecs_hpp::component& comp) const noexcept { return std::hash()(comp.owner()); } @@ -1080,9 +1074,7 @@ namespace ecs_hpp namespace std { template < typename T > - struct hash> - : std::unary_function&, std::size_t> - { + struct hash> { std::size_t operator()(const ecs_hpp::const_component& comp) const noexcept { return std::hash()(comp.owner()); }