test: const correctness

This commit is contained in:
Michele Caini
2025-02-05 15:09:01 +01:00
parent 24446f2f81
commit 38fb30e336
+1 -1
View File
@@ -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);