From c92098246405d9cda7e37dd820079b5ed2591839 Mon Sep 17 00:00:00 2001 From: kimmi Date: Thu, 24 Dec 2009 11:29:28 +0000 Subject: [PATCH] BUGFIX: Fix compiler warning: wrong initialization order in initlist. git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@518 67173fc5-114c-0410-ac8e-9d2fd5bffc1f --- code/TextureTransform.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/TextureTransform.h b/code/TextureTransform.h index d519ff791..0eafd8be3 100644 --- a/code/TextureTransform.h +++ b/code/TextureTransform.h @@ -61,9 +61,9 @@ namespace Assimp { */ struct TTUpdateInfo { - TTUpdateInfo() - : mat (NULL) - , directShortcut (NULL) + TTUpdateInfo() : + directShortcut (NULL) + , mat (NULL) , semantic (0) , index (0) {} @@ -72,7 +72,7 @@ struct TTUpdateInfo unsigned int* directShortcut; //! Material - MaterialHelper* mat; + MaterialHelper *mat; //! Texture type and index unsigned int semantic, index;