mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 13:07:42 +00:00
General: Make use of explicit constructors where applicable
Gets rid of potential error prone implicitly constructing constructors.
This commit is contained in:
@@ -115,7 +115,7 @@ private:
|
||||
void BuildBounds();
|
||||
|
||||
public:
|
||||
CParticleElectric(const TToken<CElectricDescription>& desc);
|
||||
explicit CParticleElectric(const TToken<CElectricDescription>& desc);
|
||||
|
||||
bool Update(double) override;
|
||||
void Render(const CActorLights* lights = nullptr) override;
|
||||
|
||||
Reference in New Issue
Block a user