From 2a8202caa780ab9fe0cbed8804f418640a0ccf6e Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Wed, 27 Feb 2019 14:43:55 +0100 Subject: [PATCH] bug fixing --- src/entt/entity/registry.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entt/entity/registry.hpp b/src/entt/entity/registry.hpp index e25adb67f..f24536dce 100644 --- a/src/entt/entity/registry.hpp +++ b/src/entt/entity/registry.hpp @@ -710,7 +710,7 @@ public: template Component & get(const entity_type entity, Component &&component) ENTT_NOEXCEPT { assert(valid(entity)); - auto [pdata, cpool] = assure(); + auto [pdata, cpool] = assure>(); auto *comp = cpool->try_get(entity); if(!comp) {