mirror of https://github.com/AxioDL/metaforce.git
CTransitionManager: std::move constructor parameters where applicable
Allows calling code to move into the constructor
This commit is contained in:
parent
3a96c574b2
commit
39b561b089
|
@ -15,7 +15,7 @@ class CTransitionManager {
|
|||
CAnimSysContext x0_animCtx;
|
||||
|
||||
public:
|
||||
CTransitionManager(const CAnimSysContext& sysCtx) : x0_animCtx(sysCtx) {}
|
||||
explicit CTransitionManager(CAnimSysContext sysCtx) : x0_animCtx(std::move(sysCtx)) {}
|
||||
std::shared_ptr<CAnimTreeNode> GetTransitionTree(const std::shared_ptr<CAnimTreeNode>& a,
|
||||
const std::shared_ptr<CAnimTreeNode>& b) const;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue