Build: Another fix for issue #718: implement the hidden methods of tFinalize.

This commit is contained in:
John Kessenich
2017-03-01 13:12:26 -07:00
parent 3494d71cfa
commit efeefd9833
2 changed files with 3 additions and 3 deletions

View File

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