From efeefd983381af71d9ec6372ea848ee5aeffcb58 Mon Sep 17 00:00:00 2001 From: John Kessenich Date: Wed, 1 Mar 2017 13:12:26 -0700 Subject: [PATCH] Build: Another fix for issue #718: implement the hidden methods of tFinalize. --- glslang/Include/revision.h | 2 +- hlsl/hlslGrammar.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/glslang/Include/revision.h b/glslang/Include/revision.h index ccc2152a..3bd52078 100644 --- a/glslang/Include/revision.h +++ b/glslang/Include/revision.h @@ -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" diff --git a/hlsl/hlslGrammar.cpp b/hlsl/hlslGrammar.cpp index 840d4ea5..9b3a5fa4 100755 --- a/hlsl/hlslGrammar.cpp +++ b/hlsl/hlslGrammar.cpp @@ -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