Sfoglia il codice sorgente

Update irrArray.h

fix init ordering.
Kim Kulling 5 anni fa
parent
commit
92da00329f
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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);