mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 20:27:42 +00:00
Runtime: Add more usages of explicit
Prevents error-prone implicit conversions where applicable. This targets the regular RuntimeCommon target this time around.
This commit is contained in:
@@ -26,7 +26,7 @@ class CInterpolationCamera : public CGameCamera {
|
||||
float maxTime, float curTime);
|
||||
|
||||
public:
|
||||
CInterpolationCamera(TUniqueId uid, const zeus::CTransform& xf);
|
||||
explicit CInterpolationCamera(TUniqueId uid, const zeus::CTransform& xf);
|
||||
void Accept(IVisitor& visitor) override;
|
||||
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager&) override;
|
||||
void ProcessInput(const CFinalInput&, CStateManager& mgr) override;
|
||||
|
||||
Reference in New Issue
Block a user