mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 19:07:44 +00:00
General: Make use of explicit constructors where applicable
Gets rid of potential error prone implicitly constructing constructors.
This commit is contained in:
@@ -31,7 +31,7 @@ class CBeamInfo {
|
||||
zeus::CColor x40_outerColor;
|
||||
|
||||
public:
|
||||
CBeamInfo(CInputStream& in)
|
||||
explicit CBeamInfo(CInputStream& in)
|
||||
: x0_(in.readUint32Big())
|
||||
, x4_beamAttributes(in.readUint32Big())
|
||||
, x8_contactFxId(in.readUint32Big())
|
||||
|
||||
Reference in New Issue
Block a user