mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-14 11:26:09 +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:
@@ -12,7 +12,7 @@ class CAnimationDatabaseGame final : public CAnimationDatabase {
|
||||
std::vector<std::shared_ptr<IMetaAnim>> x10_anims;
|
||||
|
||||
public:
|
||||
CAnimationDatabaseGame(const std::vector<CAnimation>& anims);
|
||||
explicit CAnimationDatabaseGame(const std::vector<CAnimation>& anims);
|
||||
const std::shared_ptr<IMetaAnim>& GetMetaAnim(s32 idx) const override;
|
||||
u32 GetNumMetaAnims() const override;
|
||||
const char* GetMetaAnimName(s32 idx) const override;
|
||||
|
||||
Reference in New Issue
Block a user