From 4d361a2d4467b4d72f1d785ace69379e694c102a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Fonseca?= Date: Thu, 28 Sep 2023 19:22:37 +0100 Subject: [PATCH] test --- core/src/cubos/core/reflection/traits/fields.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/cubos/core/reflection/traits/fields.cpp b/core/src/cubos/core/reflection/traits/fields.cpp index 6dc225dda..408bec493 100644 --- a/core/src/cubos/core/reflection/traits/fields.cpp +++ b/core/src/cubos/core/reflection/traits/fields.cpp @@ -190,7 +190,7 @@ const void* FieldsTrait::ConstView::get(const Field& field) const const void* FieldsTrait::ConstView::get(const std::string& name) const { - const auto* field = mTrait.field(name); + auto field = mTrait.field(name); if (field == nullptr) {