mirror of
https://github.com/enduro2d/enduro2d.git
synced 2025-12-13 15:48:11 +07:00
update modules
This commit is contained in:
16
headers/3rdparty/ecs.hpp/ecs.hpp
vendored
16
headers/3rdparty/ecs.hpp/ecs.hpp
vendored
@@ -877,9 +877,7 @@ namespace ecs_hpp
|
||||
namespace std
|
||||
{
|
||||
template <>
|
||||
struct hash<ecs_hpp::entity> final
|
||||
: std::unary_function<const ecs_hpp::entity&, std::size_t>
|
||||
{
|
||||
struct hash<ecs_hpp::entity> final {
|
||||
std::size_t operator()(const ecs_hpp::entity& ent) const noexcept {
|
||||
return ecs_hpp::detail::hash_combine(
|
||||
std::hash<const ecs_hpp::registry*>()(&ent.owner()),
|
||||
@@ -947,9 +945,7 @@ namespace ecs_hpp
|
||||
namespace std
|
||||
{
|
||||
template <>
|
||||
struct hash<ecs_hpp::const_entity> final
|
||||
: std::unary_function<const ecs_hpp::const_entity&, std::size_t>
|
||||
{
|
||||
struct hash<ecs_hpp::const_entity> final {
|
||||
std::size_t operator()(const ecs_hpp::const_entity& ent) const noexcept {
|
||||
return ecs_hpp::detail::hash_combine(
|
||||
std::hash<const ecs_hpp::registry*>()(&ent.owner()),
|
||||
@@ -1020,9 +1016,7 @@ namespace ecs_hpp
|
||||
namespace std
|
||||
{
|
||||
template < typename T >
|
||||
struct hash<ecs_hpp::component<T>>
|
||||
: std::unary_function<const ecs_hpp::component<T>&, std::size_t>
|
||||
{
|
||||
struct hash<ecs_hpp::component<T>> {
|
||||
std::size_t operator()(const ecs_hpp::component<T>& comp) const noexcept {
|
||||
return std::hash<ecs_hpp::entity>()(comp.owner());
|
||||
}
|
||||
@@ -1080,9 +1074,7 @@ namespace ecs_hpp
|
||||
namespace std
|
||||
{
|
||||
template < typename T >
|
||||
struct hash<ecs_hpp::const_component<T>>
|
||||
: std::unary_function<const ecs_hpp::const_component<T>&, std::size_t>
|
||||
{
|
||||
struct hash<ecs_hpp::const_component<T>> {
|
||||
std::size_t operator()(const ecs_hpp::const_component<T>& comp) const noexcept {
|
||||
return std::hash<ecs_hpp::const_entity>()(comp.owner());
|
||||
}
|
||||
|
||||
4
headers/3rdparty/promise.hpp/promise.hpp
vendored
4
headers/3rdparty/promise.hpp/promise.hpp
vendored
@@ -1296,9 +1296,7 @@ namespace promise_hpp
|
||||
namespace std
|
||||
{
|
||||
template < typename T >
|
||||
struct hash<promise_hpp::promise<T>>
|
||||
: std::unary_function<promise_hpp::promise<T>, std::size_t>
|
||||
{
|
||||
struct hash<promise_hpp::promise<T>> final {
|
||||
std::size_t operator()(const promise_hpp::promise<T>& p) const noexcept {
|
||||
return p.hash();
|
||||
}
|
||||
|
||||
Submodule modules/catch2 updated: 84f8e806b8...97602b248b
Submodule modules/ecs.hpp updated: f59165bdef...0a5ea673ea
Submodule modules/promise.hpp updated: fdb797fcc0...c7aeff3710
Submodule modules/utfcpp updated: 82c674b7a7...088dd3ad77
Reference in New Issue
Block a user