mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 23:47:43 +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:
@@ -14,7 +14,7 @@ class CAnimation {
|
||||
std::shared_ptr<IMetaAnim> x10_anim;
|
||||
|
||||
public:
|
||||
CAnimation(CInputStream& in);
|
||||
explicit CAnimation(CInputStream& in);
|
||||
const std::shared_ptr<IMetaAnim>& GetMetaAnim() const { return x10_anim; }
|
||||
std::string_view GetMetaAnimName() const { return x0_name; }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user