Skip to content

Commit ebc0c18

Browse files
committed
test: add missing template keywords (thanks msvc)
1 parent 379a4bd commit ebc0c18

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/entt/entity/sigh_storage_mixin.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -418,8 +418,8 @@ TEST(SighStorageMixin, CustomAllocator) {
418418
counter on_destroy{};
419419

420420
pool.bind(entt::forward_as_any(registry));
421-
pool.on_construct().connect<&listener>(on_construct);
422-
pool.on_destroy().connect<&listener>(on_destroy);
421+
pool.on_construct().template connect<&listener>(on_construct);
422+
pool.on_destroy().template connect<&listener>(on_destroy);
423423

424424
pool.reserve(1u);
425425

@@ -481,8 +481,8 @@ TEST(SighStorageMixin, ThrowingAllocator) {
481481
counter on_destroy{};
482482

483483
pool.bind(entt::forward_as_any(registry));
484-
pool.on_construct().connect<&listener>(on_construct);
485-
pool.on_destroy().connect<&listener>(on_destroy);
484+
pool.on_construct().template connect<&listener>(on_construct);
485+
pool.on_destroy().template connect<&listener>(on_destroy);
486486

487487
pool_allocator_type::trigger_on_allocate = true;
488488

0 commit comments

Comments
 (0)