mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-28 22:47:28 +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:
@@ -57,4 +57,5 @@ struct IMaterial
|
||||
} null_material{};
|
||||
return &null_material;
|
||||
}
|
||||
virtual ~IMaterial() = default;
|
||||
};
|
||||
@@ -73,4 +73,5 @@ struct ITexture
|
||||
} null_texture{};
|
||||
return &null_texture;
|
||||
}
|
||||
virtual ~ITexture() = default;
|
||||
};
|
||||
Reference in New Issue
Block a user