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

@ -3,4 +3,4 @@
// For the date, it uses the current date (when then script is run).
#define GLSLANG_REVISION "Overload400-PrecQual.1865"
#define GLSLANG_DATE "28-Feb-2017"
#define GLSLANG_DATE "01-Mar-2017"

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