From 2d1bd1eec4f2f1b02e5b1dcf1aebe5ea4e64adb6 Mon Sep 17 00:00:00 2001 From: Turo Lamminen Date: Sat, 27 Jan 2018 18:29:29 +0200 Subject: [PATCH] ASE: Delete Camera default constructor --- code/ASEParser.h | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/code/ASEParser.h b/code/ASEParser.h index cb5a30af5..c80342ece 100644 --- a/code/ASEParser.h +++ b/code/ASEParser.h @@ -390,15 +390,8 @@ struct Camera : public BaseNode TARGET }; - //! Constructor - Camera() - : BaseNode (BaseNode::Camera) - , mFOV (0.75f) // in radians - , mNear (0.1f) - , mFar (1000.f) // could be zero - , mCameraType (FREE) - { - } + //! Default constructor has been deleted + Camera() = delete; //! Construction from an existing name