Skip to content

Commit

Permalink
refactor(core): clang-tidy
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
luishfonseca and github-actions[bot] committed Sep 28, 2023
1 parent f505fe4 commit 743fe69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/cubos/core/reflection/traits/fields.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ void* FieldsTrait::View::get(const Field& field) const

void* FieldsTrait::View::get(const std::string& name) const
{
auto field = mTrait.field(name);
const auto* field = mTrait.field(name);

if (field == nullptr)
{
Expand Down Expand Up @@ -190,7 +190,7 @@ const void* FieldsTrait::ConstView::get(const Field& field) const

const void* FieldsTrait::ConstView::get(const std::string& name) const
{
auto field = mTrait.field(name);
const auto* field = mTrait.field(name);

if (field == nullptr)
{
Expand Down

0 comments on commit 743fe69

Please sign in to comment.