Browse Source

test: add missing template keywords

Michele Caini 11 months ago
parent
commit
8b1b7a0fc9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/entt/meta/meta_factory.cpp

+ 1 - 1
test/entt/meta/meta_factory.cpp

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