Răsfoiți Sursa

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 ani în urmă
părinte
comite
c920982464
1 a modificat fișierele cu 4 adăugiri și 4 ștergeri
  1. 4 4
      code/TextureTransform.h

+ 4 - 4
code/TextureTransform.h

@@ -61,9 +61,9 @@ namespace Assimp	{
 */
 */
 struct TTUpdateInfo
 struct TTUpdateInfo
 {
 {
-	TTUpdateInfo()
-		:	mat				(NULL)
-		,	directShortcut	(NULL)
+	TTUpdateInfo() :
+			directShortcut	(NULL)
+		,	mat				(NULL)
 		,	semantic		(0)
 		,	semantic		(0)
 		,	index			(0)
 		,	index			(0)
 	{}
 	{}
@@ -72,7 +72,7 @@ struct TTUpdateInfo
 	unsigned int* directShortcut;
 	unsigned int* directShortcut;
 
 
 	//! Material 
 	//! Material 
-	MaterialHelper* mat;
+	MaterialHelper *mat;
 
 
 	//! Texture type and index
 	//! Texture type and index
 	unsigned int semantic, index;
 	unsigned int semantic, index;