Browse Source

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
kimmi 15 years ago
parent
commit
c920982464
1 changed files with 4 additions and 4 deletions
  1. 4 4
      code/TextureTransform.h

+ 4 - 4
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;