mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-20 16:59:12 +00:00
General: Make use of explicit constructors where applicable
Gets rid of potential error prone implicitly constructing constructors.
This commit is contained in:
@@ -59,7 +59,7 @@ public:
|
||||
float x10_rotAng = 0.f;
|
||||
float x14_baseAngle = 0.f;
|
||||
float x18_offshootAngleDelta = 0.f;
|
||||
SOuterItemInfo(std::string_view);
|
||||
explicit SOuterItemInfo(std::string_view);
|
||||
};
|
||||
|
||||
private:
|
||||
@@ -135,7 +135,7 @@ private:
|
||||
bool zEqual) const;
|
||||
|
||||
public:
|
||||
CCompoundTargetReticle(const CStateManager&);
|
||||
explicit CCompoundTargetReticle(const CStateManager&);
|
||||
|
||||
void SetLeadingOrientation(const zeus::CQuaternion& o) { x0_leadingOrientation = o; }
|
||||
bool CheckLoadComplete() { return true; }
|
||||
|
||||
Reference in New Issue
Block a user