diff --git a/glslang/Include/revision.h b/glslang/Include/revision.h index 64cdea7a4102775c746d184fa82ca9b6f903ed38..fc96a2229f282728e3a342a8cc7036fafccb0f19 100644 --- a/glslang/Include/revision.h +++ b/glslang/Include/revision.h @@ -2,5 +2,5 @@ // For the version, it uses the latest git tag followed by the number of commits. // For the date, it uses the current date (when then script is run). -#define GLSLANG_REVISION "Overload400-PrecQual.1817" +#define GLSLANG_REVISION "Overload400-PrecQual.1819" #define GLSLANG_DATE "08-Feb-2017" diff --git a/hlsl/hlslGrammar.cpp b/hlsl/hlslGrammar.cpp index cd68ee3bcdb71be0b86e4fa2a81c5e69576d4e29..a454c444d0aa3b5b0ad1867824f836fd7420c784 100755 --- a/hlsl/hlslGrammar.cpp +++ b/hlsl/hlslGrammar.cpp @@ -2333,9 +2333,10 @@ bool HlslGrammar::acceptPostfixExpression(TIntermTyped*& node) struct tFinalize { tFinalize(HlslParseContext& p) : parseContext(p) { } ~tFinalize() { parseContext.finalizeFlattening(); } - HlslParseContext& parseContext; + HlslParseContext& parseContext; private: - tFinalize& operator=(tFinalize&) { } + const tFinalize& operator=(const tFinalize& f); + tFinalize(const tFinalize& f); } finalize(parseContext); // Initialize the flattening accumulation data, so we can track data across multiple bracket or