17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-31 11:09:06 +01:00

fix(sonar): give polymorphic base classes virtual destructors (cpp:S1235)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
jerrrrycho
2026-10-10 15:48:07 +02:00
parent 9b89a5d887
commit 6547f7e967
6 changed files with 10 additions and 0 deletions

View File

@@ -57,4 +57,5 @@ struct IMaterial
} null_material{};
return &null_material;
}
virtual ~IMaterial() = default;
};