test: make gcc happy again

This commit is contained in:
Michele Caini
2023-12-19 11:13:10 +01:00
parent 03551c242c
commit eef8b42c77

View File

@@ -464,7 +464,7 @@ TEST(SigH, CustomAllocator) {
entt::sink sink{sigh};
sigh_listener listener;
sink.template connect<&sigh_listener::g>(listener);
sink.connect<&sigh_listener::g>(listener);
decltype(sigh) copy{sigh, allocator};
sink.disconnect(&listener);
@@ -488,7 +488,7 @@ TEST(SigH, CustomAllocator) {
ASSERT_TRUE(copy.empty());
ASSERT_TRUE(move.empty());
sink.template connect<&sigh_listener::g>(listener);
sink.connect<&sigh_listener::g>(listener);
copy.swap(move);
ASSERT_FALSE(copy.empty());