Browse Source

Update irrArray.h

fix init ordering.
Kim Kulling 5 years ago
parent
commit
92da00329f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      contrib/irrXML/irrArray.h

+ 2 - 2
contrib/irrXML/irrArray.h

@@ -23,7 +23,7 @@ class array
 public:
 
 	array()
-		: data(0), used(0), allocated(0),
+		: data(0), allocated(0), used(0),
 			free_when_destroyed(true), is_sorted(true)
 	{
 	}
@@ -31,7 +31,7 @@ public:
 	//! Constructs a array and allocates an initial chunk of memory.
 	//! \param start_count: Amount of elements to allocate.
 	array(u32 start_count)
-		: data(0), used(0), allocated(0),
+		: data(0), allocated(0), used(0),
 			free_when_destroyed(true),	is_sorted(true)
 	{
 		reallocate(start_count);