diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-05 20:21:33 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-05 20:21:33 +0100 |
| commit | 66e80234e69a59193e91b0f9e2ea90fca36e1c67 (patch) | |
| tree | 633b2f7c396e93115f4df987e7078643276d377c /CLAUDE.md | |
| parent | 12816810855883472ecab454f9c0d08d66f0ae52 (diff) | |
fix(gpu): Resolve typeid warning by using .get() on shared_ptr
Fixed warning: "expression with side effects will be evaluated despite
being used as an operand to 'typeid'"
Changed from:
typeid(*item.effect).name()
To:
Effect* effect_ptr = item.effect.get();
typeid(*effect_ptr).name()
This avoids potential side effects from dereferencing the shared_ptr
directly in typeid expression.
All 20 tests pass (100%).
Diffstat (limited to 'CLAUDE.md')
0 files changed, 0 insertions, 0 deletions
