From f51352467dbf1c27851264a6f40a7a47ff3a84de Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Fri, 20 Sep 2024 10:16:37 +0200 Subject: [PATCH] reactive mixin: template keyword for g++ although not necessary --- src/entt/entity/mixin.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/entt/entity/mixin.hpp b/src/entt/entity/mixin.hpp index 7b1fc5b75..1a16f7088 100644 --- a/src/entt/entity/mixin.hpp +++ b/src/entt/entity/mixin.hpp @@ -455,7 +455,7 @@ public: */ template void on_construct(const id_type id = type_hash::value()) { - owner_or_assert().storage(id).on_construct().template connect(*this); + owner_or_assert().template storage(id).on_construct().template connect(*this); } /** @@ -466,7 +466,7 @@ public: */ template void on_update(const id_type id = type_hash::value()) { - owner_or_assert().storage(id).on_update().template connect(*this); + owner_or_assert().template storage(id).on_update().template connect(*this); } /** @@ -477,7 +477,7 @@ public: */ template void on_destroy(const id_type id = type_hash::value()) { - owner_or_assert().storage(id).on_destroy().template connect(*this); + owner_or_assert().template storage(id).on_destroy().template connect(*this); } /**