CWorldLight: Explicitly default copy assignment, move assignment and move constructor

Makes the interface consistent with how the constructor is specified.
This commit is contained in:
Lioncash 2020-04-07 07:19:48 -04:00
parent 18c0111edb
commit 7ba5a5b183
1 changed files with 7 additions and 1 deletions

View File

@ -29,8 +29,14 @@ private:
float x40_ = 0.f; float x40_ = 0.f;
public: public:
CWorldLight(const CWorldLight&) = default;
explicit CWorldLight(CInputStream& in); explicit CWorldLight(CInputStream& in);
CWorldLight(const CWorldLight&) = default;
CWorldLight& operator=(const CWorldLight&) = default;
CWorldLight(CWorldLight&&) = default;
CWorldLight& operator=(CWorldLight&&) = default;
EWorldLightType GetLightType() const { return x0_type; } EWorldLightType GetLightType() const { return x0_type; }
const zeus::CVector3f& GetDirection() const { return x1c_direction; } const zeus::CVector3f& GetDirection() const { return x1c_direction; }
const zeus::CVector3f& GetPosition() const { return x10_position; } const zeus::CVector3f& GetPosition() const { return x10_position; }