test: add missing template keywords

This commit is contained in:
Michele Caini
2025-04-09 10:11:45 +02:00
parent 2a37b972d9
commit 8b1b7a0fc9

View File

@@ -65,7 +65,7 @@ template<typename Type>
// concept-like approach (waiting for C++20 and concepts)
auto meta_setup(entt::meta_factory<Type> factory) -> decltype(&Type::value, void()) {
using namespace entt::literals;
factory.data<&Type::value>("value"_hs).conv<decltype(Type::value)>();
factory.template data<&Type::value>("value"_hs).template conv<decltype(Type::value)>();
}
void meta_setup(entt::meta_factory<test::boxed_int> factory) {