mirror of https://github.com/AxioDL/metaforce.git
TAnimSourceInfo: std::move constructor parameter where applicable
Allows calling code to move into the constructor.
This commit is contained in:
parent
9fe671af99
commit
cff12f0986
|
@ -14,7 +14,7 @@ class TAnimSourceInfo : public IAnimSourceInfo {
|
|||
TSubAnimTypeToken<T> x4_token;
|
||||
|
||||
public:
|
||||
TAnimSourceInfo(const TSubAnimTypeToken<T>& token) : x4_token(token) {}
|
||||
explicit TAnimSourceInfo(TSubAnimTypeToken<T> token) : x4_token(std::move(token)) {}
|
||||
bool HasPOIData() const override { return x4_token->HasPOIData(); }
|
||||
const std::vector<CBoolPOINode>& GetBoolPOIStream() const override { return x4_token->GetBoolPOIStream(); }
|
||||
const std::vector<CInt32POINode>& GetInt32POIStream() const override { return x4_token->GetInt32POIStream(); }
|
||||
|
|
Loading…
Reference in New Issue