Explorar el Código

test: const correctness

Michele Caini hace 1 año
padre
commit
38fb30e336
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      test/entt/meta/meta_any.cpp

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

@@ -138,7 +138,7 @@ TEST_F(MetaAny, Empty) {
 
 TEST_F(MetaAny, Context) {
     entt::meta_any any{};
-    entt::meta_ctx ctx{};
+    const entt::meta_ctx ctx{};
 
     ASSERT_EQ(&any.context(), &entt::locator<entt::meta_ctx>::value_or());
     ASSERT_NE(&any.context(), &ctx);