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:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user