2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 05: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:
Lioncash
2020-03-09 11:11:25 -04:00
parent 3cec19437a
commit 79565d7f52
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@
namespace urde {
CAnimSourceInfo::CAnimSourceInfo(const TSubAnimTypeToken<CAnimSource>& token) : x4_token(token) {}
CAnimSourceInfo::CAnimSourceInfo(TSubAnimTypeToken<CAnimSource> token) : x4_token(std::move(token)) {}
bool CAnimSourceInfo::HasPOIData() const { return x4_token->x58_evntData.HasReference(); }