From d091fd2e171676197f2e3ab0b4dace796bf60320 Mon Sep 17 00:00:00 2001 From: Scott Ehlert Date: Fri, 28 Feb 2014 16:10:02 -0600 Subject: [PATCH] Fix initialization order warning for GCC and Clang. --- public/studio.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/public/studio.h b/public/studio.h index e5118adf..b6b9ae1e 100644 --- a/public/studio.h +++ b/public/studio.h @@ -2571,10 +2571,11 @@ public: // ctor CActivityToSequenceMapping( void ) - : m_pSequenceTuples(NULL), m_iSequenceTuplesCount(0), m_ActToSeqHash(8,0,0), m_expectedPStudioHdr(NULL), m_expectedVModel(NULL) + : m_pSequenceTuples(NULL), m_iSequenceTuplesCount(0), #if STUDIO_SEQUENCE_ACTIVITY_LAZY_INITIALIZE - , m_bIsInitialized(false) + m_bIsInitialized(false), #endif + m_ActToSeqHash(8,0,0), m_expectedPStudioHdr(NULL), m_expectedVModel(NULL) {}; // dtor -- not virtual because this class has no inheritors