mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 01:07:43 +00:00
CAnimSourceInfo: std::move TSubAnimTypeToken instance in constructor
Provides the same behavior, but allows calling code to move into the constructor.
This commit is contained in:
@@ -28,7 +28,7 @@ class CAnimSourceInfo : public IAnimSourceInfo {
|
||||
TSubAnimTypeToken<CAnimSource> x4_token;
|
||||
|
||||
public:
|
||||
CAnimSourceInfo(const TSubAnimTypeToken<CAnimSource>& token);
|
||||
explicit CAnimSourceInfo(TSubAnimTypeToken<CAnimSource> token);
|
||||
bool HasPOIData() const override;
|
||||
const std::vector<CBoolPOINode>& GetBoolPOIStream() const override;
|
||||
const std::vector<CInt32POINode>& GetInt32POIStream() const override;
|
||||
|
||||
Reference in New Issue
Block a user