Explorar o código

test: add missing template keywords (thanks msvc)

Michele Caini %!s(int64=4) %!d(string=hai) anos
pai
achega
ebc0c18534
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  1. 4 4
      test/entt/entity/sigh_storage_mixin.cpp

+ 4 - 4
test/entt/entity/sigh_storage_mixin.cpp

@@ -418,8 +418,8 @@ TEST(SighStorageMixin, CustomAllocator) {
         counter on_destroy{};
         counter on_destroy{};
 
 
         pool.bind(entt::forward_as_any(registry));
         pool.bind(entt::forward_as_any(registry));
-        pool.on_construct().connect<&listener>(on_construct);
-        pool.on_destroy().connect<&listener>(on_destroy);
+        pool.on_construct().template connect<&listener>(on_construct);
+        pool.on_destroy().template connect<&listener>(on_destroy);
 
 
         pool.reserve(1u);
         pool.reserve(1u);
 
 
@@ -481,8 +481,8 @@ TEST(SighStorageMixin, ThrowingAllocator) {
         counter on_destroy{};
         counter on_destroy{};
 
 
         pool.bind(entt::forward_as_any(registry));
         pool.bind(entt::forward_as_any(registry));
-        pool.on_construct().connect<&listener>(on_construct);
-        pool.on_destroy().connect<&listener>(on_destroy);
+        pool.on_construct().template connect<&listener>(on_construct);
+        pool.on_destroy().template connect<&listener>(on_destroy);
 
 
         pool_allocator_type::trigger_on_allocate = true;
         pool_allocator_type::trigger_on_allocate = true;