mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 22:27:43 +00:00
RuntimeCommon: Use override where applicable
Continues the override modernization by applying it to the main RuntimeCommon target. Resolves around 1100+ cases where override can be used.
This commit is contained in:
@@ -10,7 +10,7 @@ protected:
|
||||
|
||||
public:
|
||||
CAnimTreeNode(std::string_view name) : x4_name(name) {}
|
||||
bool IsCAnimTreeNode() const { return true; }
|
||||
bool IsCAnimTreeNode() const override { return true; }
|
||||
static std::shared_ptr<CAnimTreeNode> Cast(std::unique_ptr<IAnimReader>&& ptr) {
|
||||
if (ptr->IsCAnimTreeNode())
|
||||
return std::static_pointer_cast<CAnimTreeNode>(std::shared_ptr<IAnimReader>(std::move(ptr)));
|
||||
|
||||
Reference in New Issue
Block a user