mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 13:44:56 +00:00
TAnimSourceInfo: std::move constructor parameter where applicable
Allows calling code to move into the constructor.
This commit is contained in:
@@ -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(); }
|
||||
|
||||
Reference in New Issue
Block a user