mirror of https://github.com/AxioDL/metaforce.git
CAnimationManager: std::move parameters to constructor where applicable
Allows calling code to move into the respective arguments.
This commit is contained in:
parent
e289643742
commit
ab17c1cf2f
|
@ -19,8 +19,8 @@ class CAnimationManager {
|
|||
CAnimSysContext x8_sysCtx;
|
||||
|
||||
public:
|
||||
CAnimationManager(const TToken<CAnimationDatabaseGame>& animDB, const CAnimSysContext& sysCtx)
|
||||
: x0_animDB(animDB), x8_sysCtx(sysCtx) {}
|
||||
CAnimationManager(TToken<CAnimationDatabaseGame> animDB, CAnimSysContext sysCtx)
|
||||
: x0_animDB(std::move(animDB)), x8_sysCtx(std::move(sysCtx)) {}
|
||||
|
||||
const CAnimationDatabaseGame* GetAnimationDatabase() const;
|
||||
std::shared_ptr<CAnimTreeNode> GetAnimationTree(s32, const CMetaAnimTreeBuildOrders& orders) const;
|
||||
|
|
Loading…
Reference in New Issue