mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 21:47:59 +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:
@@ -15,7 +15,7 @@ class CMetaAnimRandom : public IMetaAnim {
|
||||
static RandomData CreateRandomData(CInputStream& in);
|
||||
|
||||
public:
|
||||
CMetaAnimRandom(CInputStream& in);
|
||||
explicit CMetaAnimRandom(CInputStream& in);
|
||||
EMetaAnimType GetType() const override { return EMetaAnimType::Random; }
|
||||
|
||||
void GetUniquePrimitives(std::set<CPrimitive>& primsOut) const override;
|
||||
|
||||
Reference in New Issue
Block a user