From 039ca38542a8493299bb5d195c1ed1f5d98c1468 Mon Sep 17 00:00:00 2001 From: Turo Lamminen Date: Sat, 27 Jan 2018 18:19:44 +0200 Subject: [PATCH] ASE: Delete Light default constructor --- code/ASEParser.h | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/code/ASEParser.h b/code/ASEParser.h index 4a9fd71fe..352cc0832 100644 --- a/code/ASEParser.h +++ b/code/ASEParser.h @@ -358,17 +358,8 @@ struct Light : public BaseNode DIRECTIONAL }; - //! Constructor. - Light() - : BaseNode (BaseNode::Light) - , mLightType (OMNI) - , mColor (1.f,1.f,1.f) - , mIntensity (1.f) // light is white by default - , mAngle (45.f) - , mFalloff (0.f) - { - } - + //! Default constructor has been deleted + Light() = delete; //! Construction from an existing name explicit Light(const std::string &name)