mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 08: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:
@@ -14,7 +14,7 @@ protected:
|
||||
std::string x4_name;
|
||||
|
||||
public:
|
||||
CAnimTreeNode(std::string_view name) : x4_name(name) {}
|
||||
explicit CAnimTreeNode(std::string_view name) : x4_name(name) {}
|
||||
bool IsCAnimTreeNode() const override { return true; }
|
||||
static std::shared_ptr<CAnimTreeNode> Cast(std::unique_ptr<IAnimReader>&& ptr) {
|
||||
if (ptr->IsCAnimTreeNode())
|
||||
|
||||
Reference in New Issue
Block a user