Commit 37d7cfb1 by John Kessenich Committed by GitHub

Merge pull request #961 from benvanik/fix_order

Fixing initialization order to fix -Wreorder warning in clang.
parents 89400ea7 82da44d4
...@@ -80,8 +80,8 @@ public: ...@@ -80,8 +80,8 @@ public:
statementNestingLevel(0), loopNestingLevel(0), structNestingLevel(0), controlFlowNestingLevel(0), statementNestingLevel(0), loopNestingLevel(0), structNestingLevel(0), controlFlowNestingLevel(0),
postEntryPointReturn(false), postEntryPointReturn(false),
contextPragma(true, false), contextPragma(true, false),
limits(resources.limits),
parsingBuiltins(parsingBuiltins), scanContext(nullptr), ppContext(nullptr), parsingBuiltins(parsingBuiltins), scanContext(nullptr), ppContext(nullptr),
limits(resources.limits),
globalUniformBlock(nullptr) globalUniformBlock(nullptr)
{ } { }
virtual ~TParseContextBase() { } virtual ~TParseContextBase() { }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment