2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-12 07:35:05 +00:00

CPAS*: Make constructors explicit

Prevents undesirable implicit constructions from occurring.
This commit is contained in:
Lioncash
2020-02-28 04:35:50 -05:00
parent fe05c42be4
commit d79b9d925e
3 changed files with 4 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ public:
CPASAnimParm::UParmValue x10_max;
public:
CPASParmInfo(CInputStream& in);
explicit CPASParmInfo(CInputStream& in);
CPASAnimParm::EParmType GetParameterType() const { return x0_type; }
EWeightFunction GetWeightFunction() const { return x4_weightFunction; }
float GetParameterWeight() const { return x8_weight; }