From c6a2ed78c374e3dcf529dd89955fba8b30c21d6d Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Mon, 22 Feb 2021 09:45:55 +0100 Subject: [PATCH] poly: add missing template keyword --- TODO | 12 +----------- src/entt/poly/poly.hpp | 2 +- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/TODO b/TODO index 76b5183b1..56f393875 100644 --- a/TODO +++ b/TODO @@ -6,20 +6,10 @@ * add examples (and credits) from @alanjfs :) * static reflection, hint: template<> meta_type_t: meta_descriptor (see #342) * update documentation for meta, it contains less than half of the actual feature - -* custom pools example: - - lockless fully concurrent ro/rw pool with free lists - - multi instance - - tables - - enable/disable component - - spatial query - - runtime types pool - - off-line/off-memory/remote - - ... +* custom pools example (multi instance, tables, enable/disable, and so on...) WIP: * HP: remove storage category and get_as_tuple, make storage classes return tuple (+ view generator detect shared storage in future)? -* HP: remove non-const registry::storage function? * HP: review registry::get, registry::try_get * HP: weak reference wrapper example with custom storage. * HP: merge view and view pack diff --git a/src/entt/poly/poly.hpp b/src/entt/poly/poly.hpp index feba60908..cabbd7ad6 100644 --- a/src/entt/poly/poly.hpp +++ b/src/entt/poly/poly.hpp @@ -277,7 +277,7 @@ public: */ template void emplace(Args &&... args) { - storage.emplace(std::forward(args)...); + storage.template emplace(std::forward(args)...); vtable = poly_vtable::template instance(); }