From 7ba5a5b18344572f2d4e1dfedbf4029c302e2d90 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 7 Apr 2020 07:19:48 -0400 Subject: [PATCH] CWorldLight: Explicitly default copy assignment, move assignment and move constructor Makes the interface consistent with how the constructor is specified. --- Runtime/World/CWorldLight.hpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Runtime/World/CWorldLight.hpp b/Runtime/World/CWorldLight.hpp index 055d02a39..4302617c2 100644 --- a/Runtime/World/CWorldLight.hpp +++ b/Runtime/World/CWorldLight.hpp @@ -29,8 +29,14 @@ private: float x40_ = 0.f; public: - CWorldLight(const CWorldLight&) = default; 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; } const zeus::CVector3f& GetDirection() const { return x1c_direction; } const zeus::CVector3f& GetPosition() const { return x10_position; }