From 92da00329fc645db2148fdee5ee8af11695845ec Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Sun, 16 Feb 2020 18:10:52 +0100 Subject: [PATCH] Update irrArray.h fix init ordering. --- contrib/irrXML/irrArray.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/irrXML/irrArray.h b/contrib/irrXML/irrArray.h index f7b710b80..40c822590 100644 --- a/contrib/irrXML/irrArray.h +++ b/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);