mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 09:07:42 +00:00
General: Resolve -Wcast-qual warnings
We can just avoid casting away const in order to resolve these warnings.
This commit is contained in:
@@ -4,6 +4,6 @@
|
||||
|
||||
namespace urde {
|
||||
|
||||
void CDefaultWeaponRenderer::AddParticleGen(const CParticleGen& gen) { ((CParticleGen&)gen).Render(); }
|
||||
void CDefaultWeaponRenderer::AddParticleGen(CParticleGen& gen) { gen.Render(); }
|
||||
|
||||
} // namespace urde
|
||||
|
||||
Reference in New Issue
Block a user