Parcourir la source

test: make all compilers happy again

Michele Caini il y a 2 ans
Parent
commit
20dd52410e
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      test/entt/meta/meta_data.cpp

+ 2 - 2
test/entt/meta/meta_data.cpp

@@ -36,7 +36,7 @@ struct clazz {
 
     int i{0};
     const int j{1}; // NOLINT
-    base base{};
+    base instance{};
     inline static int h{2};       // NOLINT
     inline static const int k{3}; // NOLINT
 };
@@ -117,7 +117,7 @@ struct MetaData: ::testing::Test {
             .prop(static_cast<entt::id_type>(property_type::random), 2)
             .data<&clazz::k>("k"_hs)
             .prop(static_cast<entt::id_type>(property_type::value), 3)
-            .data<&clazz::base>("base"_hs)
+            .data<&clazz::instance>("base"_hs)
             .data<&clazz::i, entt::as_void_t>("void"_hs)
             .conv<int>();