From 7ef579674ddac6b2104f3681b9fd9d661da02a6c Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Thu, 7 Jan 2016 15:03:10 +0100 Subject: [PATCH] GenVertexNormalsProcess: use initalizer list instead of setting the earch angle in the constructor. --- code/GenVertexNormalsProcess.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/code/GenVertexNormalsProcess.cpp b/code/GenVertexNormalsProcess.cpp index ee1b3bbe2..165c3f8fb 100644 --- a/code/GenVertexNormalsProcess.cpp +++ b/code/GenVertexNormalsProcess.cpp @@ -56,14 +56,13 @@ using namespace Assimp; // ------------------------------------------------------------------------------------------------ // Constructor to be privately used by Importer GenVertexNormalsProcess::GenVertexNormalsProcess() -{ - this->configMaxAngle = AI_DEG_TO_RAD(175.f); +: configMaxAngle( AI_DEG_TO_RAD( 175.f ) ) { + // empty } // ------------------------------------------------------------------------------------------------ // Destructor, private as well -GenVertexNormalsProcess::~GenVertexNormalsProcess() -{ +GenVertexNormalsProcess::~GenVertexNormalsProcess() { // nothing to do here }