2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 09:47:43 +00:00

General: Remove unnecessary std::move calls

There's no real need to std::move a primitive type. A copy will be
performed either way. We can remove std::move in this case to improve
readability.
This commit is contained in:
Lioncash
2020-03-22 00:56:00 -04:00
parent 36ac0a8d78
commit 0e54861455
2 changed files with 21 additions and 21 deletions

View File

@@ -21,7 +21,7 @@ public:
, x8_magScale(std::move(b))
, xc_maxMag(std::move(c))
, x10_minMag(std::move(d))
, x14_enableMinMag(std::move(e)) {}
, x14_enableMinMag(e) {}
bool GetValue(int frame, zeus::CVector3f& pVel, zeus::CVector3f& pPos) const override;
};
@@ -39,7 +39,7 @@ public:
, x8_magScale(std::move(b))
, xc_maxMag(std::move(c))
, x10_minMag(std::move(d))
, x14_enableMinMag(std::move(e)) {}
, x14_enableMinMag(e) {}
bool GetValue(int frame, zeus::CVector3f& pVel, zeus::CVector3f& pPos) const override;
};
@@ -57,7 +57,7 @@ public:
, x8_magScale(std::move(b))
, xc_maxMag(std::move(c))
, x10_minMag(std::move(d))
, x14_enableMinMag(std::move(e)) {}
, x14_enableMinMag(e) {}
bool GetValue(int frame, zeus::CVector3f& pVel, zeus::CVector3f& pPos) const override;
};