Memory/constructor/warning clean-up. Addresses issue #705.

This commit is contained in:
John Kessenich
2017-02-02 14:55:02 -07:00
parent f1aeac8944
commit 32fd5d26e3
7 changed files with 12 additions and 5 deletions

View File

@@ -2319,6 +2319,8 @@ bool HlslGrammar::acceptPostfixExpression(TIntermTyped*& node)
tFinalize(HlslParseContext& p) : parseContext(p) { }
~tFinalize() { parseContext.finalizeFlattening(); }
HlslParseContext& parseContext;
private:
tFinalize& operator=(tFinalize&) { }
} finalize(parseContext);
// Initialize the flattening accumulation data, so we can track data across multiple bracket or